Package | Description |
---|---|
org.openide.filesystems |
NetBeans internally uses the concept of a
virtual filesystem.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileSystem
This convenience implementation does much of the hard work of
FileSystem and is generally more pleasant to create
subclasses of. |
class |
JarFileSystem
A virtual filesystem based on a JAR archive.
|
class |
LocalFileSystem
Local filesystem.
|
class |
MultiFileSystem
General base class for filesystems which proxy to others.
|
class |
XMLFileSystem
XML-based filesystem.
|
Modifier and Type | Method and Description |
---|---|
static FileSystem |
FileUtil.createMemoryFileSystem()
Factory method that creates an empty implementation of a filesystem that
completely resides in a memory.
|
protected FileSystem |
MultiFileSystem.createWritableOn(String name)
Finds the system to create writable version of the file on.
|
protected FileSystem |
MultiFileSystem.createWritableOnForRename(String oldName,
String newName)
Special case of createWritableOn (@see #createWritableOn).
|
FileSystem |
Repository.findFileSystem(String systemName)
Deprecated.
Please use the ClassPath API instead.
|
protected FileSystem |
MultiFileSystem.findSystem(FileObject fo)
For given file object finds the filesystem that the object is placed on.
|
FileSystem |
Repository.getDefaultFileSystem()
Deprecated.
Please use
FileUtil.getConfigFile(String) or
FileUtil.getConfigRoot() instead. |
protected FileSystem[] |
MultiFileSystem.getDelegates()
All filesystem that this system delegates to.
|
abstract FileSystem |
FileObject.getFileSystem()
Get the filesystem containing this file.
|
FileSystem |
FileStatusEvent.getFileSystem()
Getter for filesystem that caused the change.
|
FileSystem |
RepositoryEvent.getFileSystem()
Getter for the filesystem that is added or removed.
|
FileSystem[] |
Repository.toArray()
Deprecated.
Please use the ClassPath API instead.
|
Modifier and Type | Method and Description |
---|---|
protected Set<? extends FileSystem> |
MultiFileSystem.createLocksOn(String name)
When a file is about to be locked this method is consulted to
choose which delegates should be locked.
|
Enumeration<? extends FileSystem> |
Repository.fileSystems()
Deprecated.
Please use the ClassPath API instead.
|
Enumeration<? extends FileSystem> |
Repository.getFileSystems()
Deprecated.
Please use the ClassPath API instead.
|
Modifier and Type | Method and Description |
---|---|
void |
Repository.addFileSystem(FileSystem fs)
Deprecated.
Please use the ClassPath API instead.
|
protected FileObject |
MultiFileSystem.findResourceOn(FileSystem fs,
String res)
Finds a resource on given filesystem.
|
void |
Repository.removeFileSystem(FileSystem fs)
Deprecated.
Please use the ClassPath API instead.
|
protected void |
MultiFileSystem.setDelegates(FileSystem... fileSystems)
Changes the filesystems that this system delegates to
|
Constructor and Description |
---|
FileStatusEvent(FileSystem fs,
boolean icon,
boolean name)
Creates new FileStatusEvent.
|
FileStatusEvent(FileSystem fs,
FileObject file,
boolean icon,
boolean name)
Creates new FileStatusEvent
|
FileStatusEvent(FileSystem fs,
Set<? extends FileObject> files,
boolean icon,
boolean name)
Creates new FileStatusEvent
|
MultiFileSystem(FileSystem... fileSystems)
Creates new MultiFileSystem.
|
Repository(FileSystem def)
Creates new instance of filesystem pool and
registers it as the default one.
|
RepositoryEvent(Repository fsp,
FileSystem fs,
boolean add)
Create a new filesystem pool event.
|
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.