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 and 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 and Description |
---|---|
void |
ChangedEvent.notify(FileListener listener) |
void |
CreateEvent.notify(FileListener listener) |
void |
DeleteEvent.notify(FileListener listener) |
abstract void |
AbstractFileChangeEvent.notify(FileListener listener) |
Constructor and Description |
---|
DefaultFileMonitor(FileListener listener)
Creates a new instance with the given listener.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegateFileObject<AFS extends AbstractFileSystem>
A file backed by another file.
|
Modifier and Type | Method and 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 and Description |
---|---|
class |
WeakRefFileListener
Wraps a listener with a WeakReference.
|
Modifier and Type | Method and Description |
---|---|
protected FileListener |
WeakRefFileListener.getListener()
Gets the wrapped listener.
|
Modifier and Type | Method and Description |
---|---|
static void |
WeakRefFileListener.installListener(FileObject file,
FileListener listener)
Installs the
listener at the given file . |
Constructor and Description |
---|
WeakRefFileListener(FileObject file,
FileListener listener) |
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.