Package | Description |
---|---|
org.openide.filesystems |
NetBeans internally uses the concept of a
virtual filesystem.
|
Modifier and Type | Class and Description |
---|---|
class |
FileChangeAdapter
Adapter for changes in
FileObject s. |
Modifier and Type | Method and Description |
---|---|
static FileChangeListener |
FileUtil.weakFileChangeListener(FileChangeListener l,
Object source)
Creates a weak implementation of FileChangeListener.
|
Modifier and Type | Method and Description |
---|---|
void |
FileSystem.addFileChangeListener(FileChangeListener fcl)
Add new listener to this object.
|
abstract void |
FileObject.addFileChangeListener(FileChangeListener fcl)
Add new listener to this object.
|
static void |
FileUtil.addFileChangeListener(FileChangeListener fcl)
Registers
listener so that it will receive
FileEvent s from FileSystem s providing instances
of FileObject convertible to java.io.File . |
void |
Repository.addFileChangeListener(FileChangeListener fcl)
Deprecated.
useless because there is no filesystem but only
default filesystem in Repository. Add new listener directly to
default filesystem
Repository.getDefaultFileSystem() . |
static void |
FileUtil.addFileChangeListener(FileChangeListener listener,
File path)
Adds a listener to changes in a given path.
|
void |
FileObject.addRecursiveListener(FileChangeListener fcl)
Adds a listener to this
FileObject and all its children and
children or its children. |
static void |
FileUtil.addRecursiveListener(FileChangeListener listener,
File path)
Works like
addRecursiveListener(listener, path, null, null) . |
static void |
FileUtil.addRecursiveListener(FileChangeListener listener,
File path,
Callable<Boolean> stop)
Works like
addRecursiveListener(listener, path, null, stop) . |
static void |
FileUtil.addRecursiveListener(FileChangeListener listener,
File path,
FileFilter recurseInto,
Callable<Boolean> stop)
Adds a listener to changes under given path.
|
void |
FileSystem.removeFileChangeListener(FileChangeListener fcl)
Remove listener from this object.
|
abstract void |
FileObject.removeFileChangeListener(FileChangeListener fcl)
Remove listener from this object.
|
static void |
FileUtil.removeFileChangeListener(FileChangeListener fcl)
Unregisters
listener so that it will no longer receive
FileEvent s from FileSystem s providing instances
of FileObject convertible to java.io.File |
void |
Repository.removeFileChangeListener(FileChangeListener fcl)
Deprecated.
useless because there is no filesystem but only
default filesystem in Repository. Add new listener directly to
default filesystem
Repository.getDefaultFileSystem() . |
static void |
FileUtil.removeFileChangeListener(FileChangeListener listener,
File path)
Removes a listener to changes in a given path.
|
void |
FileObject.removeRecursiveListener(FileChangeListener fcl)
Removes listener previously added by
FileObject.addRecursiveListener(org.openide.filesystems.FileChangeListener) |
static void |
FileUtil.removeRecursiveListener(FileChangeListener listener,
File path)
Removes a listener to changes under given path.
|
static FileChangeListener |
FileUtil.weakFileChangeListener(FileChangeListener l,
Object source)
Creates a weak implementation of FileChangeListener.
|