Uses of Interface
org.apache.commons.vfs2.FileListener
-
Packages that use FileListener Package Description org.apache.commons.vfs2 The public VFS API.org.apache.commons.vfs2.events VFS Eventsorg.apache.commons.vfs2.impl The standard VFS implementation.org.apache.commons.vfs2.provider The File Provider API, and utility classes.org.apache.commons.vfs2.util Utility classes used by the VFS. -
-
Uses of FileListener in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 with parameters of type FileListener Modifier and Type Method Description void
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 FileListener Modifier and Type Method Description abstract 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 FileListener Modifier and Type Field Description private 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 FileListener Modifier and Type Method Description (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 FileListener Constructor Description DefaultFileMonitor(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 FileListener Modifier and Type Class Description class
DelegateFileObject<AFS extends AbstractFileSystem>
A file backed by another file.Fields in org.apache.commons.vfs2.provider declared as FileListener Modifier and Type Field Description private static FileListener[]
AbstractFileSystem. EMPTY_FILE_LISTENER_ARRAY
Fields in org.apache.commons.vfs2.provider with type parameters of type FileListener Modifier and Type Field Description private java.util.Map<FileName,java.util.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 FileListener Modifier and Type Method Description void
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 FileListener Modifier and Type Class Description class
WeakRefFileListener
Wraps a listener with a WeakReference.Fields in org.apache.commons.vfs2.util with type parameters of type FileListener Modifier and Type Field Description private java.lang.ref.WeakReference<FileListener>
WeakRefFileListener. listener
Methods in org.apache.commons.vfs2.util that return FileListener Modifier and Type Method Description protected FileListener
WeakRefFileListener. getListener()
Gets the wrapped listener.Methods in org.apache.commons.vfs2.util with parameters of type FileListener Modifier and Type Method Description static void
WeakRefFileListener. installListener(FileObject file, FileListener listener)
Installs thelistener
at the givenfile
.Constructors in org.apache.commons.vfs2.util with parameters of type FileListener Constructor Description WeakRefFileListener(FileObject file, FileListener listener)
-