Package | Description |
---|---|
org.apache.commons.vfs2 |
The public VFS API.
|
org.apache.commons.vfs2.events |
VFS Events
|
org.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.
|
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.
|
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) |
Constructor | Description |
---|---|
DefaultFileMonitor(FileListener listener) |
Modifier and Type | Class | Description |
---|---|---|
class |
DelegateFileObject<AFS extends AbstractFileSystem> |
A file backed by another file.
|
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
WeakRefFileListener |
Wrap a listener with a WeakReference.
|
Modifier and Type | Method | Description |
---|---|---|
protected FileListener |
WeakRefFileListener.getListener() |
returns the wrapped listener.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
WeakRefFileListener.installListener(FileObject file,
FileListener listener) |
This will install the
listener at the given file . |
Constructor | Description |
---|---|
WeakRefFileListener(FileObject file,
FileListener listener) |