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 TypeMethodDescriptionvoid
FileSystem.addListener
(FileObject file, FileListener listener) Adds a listener on a file in this file system.void
FileSystem.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 void
AbstractFileChangeEvent.notify
(FileListener listener) void
ChangedEvent.notify
(FileListener listener) void
CreateEvent.notify
(FileListener listener) void
DeleteEvent.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 FileListener
DefaultFileMonitor.listener
A 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) FileListener
DefaultFileMonitor.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 TypeClassDescriptionclass
DelegateFileObject<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_ARRAY
Fields in org.apache.commons.vfs2.provider with type parameters of type FileListenerModifier and TypeFieldDescriptionprivate final Map
<FileName, ArrayList<FileListener>> AbstractFileSystem.listenerMap
Map from FileName to an ArrayList of listeners for that file.Methods in org.apache.commons.vfs2.provider with parameters of type FileListenerModifier and TypeMethodDescriptionvoid
AbstractFileSystem.addListener
(FileObject file, FileListener listener) Adds a listener on a file in this file system.void
AbstractFileSystem.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 TypeClassDescriptionclass
Wraps a listener with a WeakReference.Fields in org.apache.commons.vfs2.util with type parameters of type FileListenerModifier and TypeFieldDescriptionprivate final WeakReference
<FileListener> WeakRefFileListener.listener
Methods in org.apache.commons.vfs2.util that return FileListenerModifier and TypeMethodDescriptionprotected FileListener
WeakRefFileListener.getListener()
Gets the wrapped listener.Methods in org.apache.commons.vfs2.util with parameters of type FileListenerModifier and TypeMethodDescriptionstatic void
WeakRefFileListener.installListener
(FileObject file, FileListener listener) Installs thelistener
at the givenfile
.Constructors in org.apache.commons.vfs2.util with parameters of type FileListenerModifierConstructorDescriptionprotected
WeakRefFileListener
(FileObject file, FileListener listener)