Uses of Interface
org.apache.commons.vfs2.FileListener
Packages that use FileListener
Package
Description
The public VFS API.
VFS Events
The standard VFS implementation.
The File Provider API, and utility classes.
Utility classes used by the VFS.
-
Uses of FileListener in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 with parameters of type FileListenerModifier and TypeMethodDescriptionvoidFileSystem.addListener(FileObject file, FileListener listener) Adds a listener on a file in this file system.voidFileSystem.removeListener(FileObject file, FileListener listener) Removes a listener from a file in this file system. -
Uses of FileListener in org.apache.commons.vfs2.events
Methods in org.apache.commons.vfs2.events with parameters of type FileListenerModifier and TypeMethodDescriptionabstract voidAbstractFileChangeEvent.notify(FileListener listener) voidChangedEvent.notify(FileListener listener) voidCreateEvent.notify(FileListener listener) voidDeleteEvent.notify(FileListener listener) -
Uses of FileListener in org.apache.commons.vfs2.impl
Fields in org.apache.commons.vfs2.impl declared as FileListenerModifier and TypeFieldDescriptionprivate final FileListenerDefaultFileMonitor.listenerA listener object that if set, is notified on file creation and deletion.Methods in org.apache.commons.vfs2.impl that return FileListenerModifier and TypeMethodDescription(package private) FileListenerDefaultFileMonitor.getFileListener()Access method to get the current FileListener object notified when there are changes with the files added.Constructors in org.apache.commons.vfs2.impl with parameters of type FileListenerModifierConstructorDescriptionDefaultFileMonitor(FileListener listener) Creates a new instance with the given listener. -
Uses of FileListener in org.apache.commons.vfs2.provider
Classes in org.apache.commons.vfs2.provider that implement FileListenerModifier and TypeClassDescriptionclassDelegateFileObject<AFS extends AbstractFileSystem>A file backed by another file.Fields in org.apache.commons.vfs2.provider declared as FileListenerModifier and TypeFieldDescriptionprivate static final FileListener[]AbstractFileSystem.EMPTY_FILE_LISTENER_ARRAYFields in org.apache.commons.vfs2.provider with type parameters of type FileListenerModifier and TypeFieldDescriptionprivate final Map<FileName, ArrayList<FileListener>> AbstractFileSystem.listenerMapMap from FileName to an ArrayList of listeners for that file.Methods in org.apache.commons.vfs2.provider with parameters of type FileListenerModifier and TypeMethodDescriptionvoidAbstractFileSystem.addListener(FileObject file, FileListener listener) Adds a listener on a file in this file system.voidAbstractFileSystem.removeListener(FileObject file, FileListener listener) Removes a listener from a file in this file system. -
Uses of FileListener in org.apache.commons.vfs2.util
Classes in org.apache.commons.vfs2.util that implement FileListenerModifier and TypeClassDescriptionclassWraps a listener with a WeakReference.Fields in org.apache.commons.vfs2.util with type parameters of type FileListenerModifier and TypeFieldDescriptionprivate final WeakReference<FileListener> WeakRefFileListener.listenerMethods in org.apache.commons.vfs2.util that return FileListenerModifier and TypeMethodDescriptionprotected FileListenerWeakRefFileListener.getListener()Gets the wrapped listener.Methods in org.apache.commons.vfs2.util with parameters of type FileListenerModifier and TypeMethodDescriptionstatic voidWeakRefFileListener.installListener(FileObject file, FileListener listener) Installs thelistenerat the givenfile.Constructors in org.apache.commons.vfs2.util with parameters of type FileListenerModifierConstructorDescriptionprotectedWeakRefFileListener(FileObject file, FileListener listener)