Class FileChangeEvent

  • Direct Known Subclasses:
    AbstractFileChangeEvent

    public class FileChangeEvent
    extends java.lang.Object
    An event fired when a file is changed.
    • Field Detail

      • fileObject

        private final FileObject fileObject
        The file object
    • Constructor Detail

      • FileChangeEvent

        public FileChangeEvent​(FileObject fileObject)
        Constructs a new instance.
        Parameters:
        fileObject - the file object.
    • Method Detail

      • getFile

        @Deprecated
        public FileObject getFile()
        Deprecated.
        Returns the file that changed.
        Returns:
        The FileObject that was changed.
      • getFileObject

        public FileObject getFileObject()
        Returns the file that changed.
        Returns:
        The FileObject that was changed.
        Since:
        2.5.0