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 |
---|---|
abstract void |
AbstractFileChangeEvent.notify(FileListener listener) |
void |
ChangedEvent.notify(FileListener listener) |
void |
DeleteEvent.notify(FileListener listener) |
void |
CreateEvent.notify(FileListener listener) |
Constructor and Description |
---|
DefaultFileMonitor(FileListener listener) |
Modifier and Type | Class and Description |
---|---|
class |
DelegateFileObject
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
Wrap a listener with a WeakReference.
|
Modifier and Type | Method and Description |
---|---|
protected FileListener |
WeakRefFileListener.getListener()
returns the wrapped listener.
|
Modifier and Type | Method and Description |
---|---|
static void |
WeakRefFileListener.installListener(FileObject file,
FileListener listener)
This will install the
listener at the given file . |
Constructor and Description |
---|
WeakRefFileListener(FileObject file,
FileListener listener) |
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.