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 |
---|---|
abstract void |
FileObject.addFileChangeListener(FileChangeListener fcl)
Add new listener to this object.
|
void |
FileSystem.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.
|
abstract void |
FileObject.removeFileChangeListener(FileChangeListener fcl)
Remove listener from this object.
|
void |
FileSystem.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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FileObject.fireFileAttributeChangedEvent(Enumeration<FileChangeListener> en,
FileAttributeEvent fe)
Fire file attribute change event.
|
protected void |
FileObject.fireFileChangedEvent(Enumeration<FileChangeListener> en,
FileEvent fe)
Fire file change event.
|
protected void |
FileObject.fireFileDataCreatedEvent(Enumeration<FileChangeListener> en,
FileEvent fe)
Fire data creation event.
|
protected void |
FileObject.fireFileDeletedEvent(Enumeration<FileChangeListener> en,
FileEvent fe)
Fire file deletion event.
|
protected void |
FileObject.fireFileFolderCreatedEvent(Enumeration<FileChangeListener> en,
FileEvent fe)
Fire folder creation event.
|
protected void |
FileObject.fireFileRenamedEvent(Enumeration<FileChangeListener> en,
FileRenameEvent fe)
Fire file rename event.
|
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.