public final class SystemFileSystem extends MultiFileSystem implements FileChangeListener
FileSystem.AtomicAction, FileSystem.Environment, FileSystem.HtmlStatus, FileSystem.StatusPROP_DISPLAY_NAME, PROP_HIDDEN, PROP_READ_ONLY, PROP_ROOT, PROP_SYSTEM_NAME, PROP_VALID| Modifier and Type | Method and Description |
|---|---|
protected Set<? extends FileSystem> |
createLocksOn(String name) |
protected FileSystem |
createWritableOn(String name) |
protected FileSystem |
createWritableOnForRename(String oldName,
String newName) |
void |
fileAttributeChanged(FileAttributeEvent fe) |
void |
fileChanged(FileEvent fe) |
void |
fileDataCreated(FileEvent fe) |
void |
fileDeleted(FileEvent fe) |
void |
fileFolderCreated(FileEvent fe) |
void |
fileRenamed(FileRenameEvent fe) |
String |
getDisplayName()
Name of the system
|
ModuleLayeredFileSystem |
getInstallationLayer()
Getter for the instalation layer filesystem.
|
FileSystem[] |
getLayers()
Getter for the array of filesystems that are currently used
in the IDE.
|
ModuleLayeredFileSystem |
getUserLayer()
Getter for the user layer filesystem.
|
boolean |
isPersistent()
Deprecated.
|
protected void |
notifyMigration(FileObject fo)
Notification that a file has migrated from one file system
to another.
|
static void |
registerMutex(Mutex mutex)
A mutex to use to guard access to changes of layers in the
system file system.
|
void |
setLayers(FileSystem[] arr)
Changes layers to provided values.
|
addNotify, find, findResource, findResourceOn, findSystem, getActions, getActions, getDelegates, getPropagateMasks, getRoot, hiddenFiles, hideResource, isReadOnly, markUnimportant, prepareEnvironment, refresh, removeNotify, setDelegates, setPropagateMasksaddFileChangeListener, addFileStatusListener, addPropertyChangeListener, addVetoableChangeListener, createTempFile, fireFileStatusChanged, firePropertyChange, fireVetoableChange, getCapability, getStatus, getSystemName, getTempFolder, isDefault, isHidden, isValid, removeFileChangeListener, removeFileStatusListener, removePropertyChangeListener, removeVetoableChangeListener, runAtomicAction, setCapability, setHidden, setSystemName, toStringpublic static void registerMutex(Mutex mutex)
public String getDisplayName()
getDisplayName in class MultiFileSystempublic ModuleLayeredFileSystem getInstallationLayer()
public ModuleLayeredFileSystem getUserLayer()
public final void setLayers(FileSystem[] arr) throws IllegalArgumentException
arr - the new layersIllegalArgumentException - if there is an overlappublic FileSystem[] getLayers()
protected FileSystem createWritableOnForRename(String oldName, String newName) throws IOException
createWritableOnForRename in class MultiFileSystemIOExceptionprotected FileSystem createWritableOn(String name) throws IOException
createWritableOn in class MultiFileSystemIOExceptionprotected Set<? extends FileSystem> createLocksOn(String name) throws IOException
createLocksOn in class MultiFileSystemIOException@Deprecated public boolean isPersistent()
isPersistent in class FileSystemprotected void notifyMigration(FileObject fo)
This method allows subclasses to fire for example FileSystem.PROP_STATUS change to notify that annotation of this file should change.
notifyMigration in class MultiFileSystemfo - file object that change its actual file systempublic void fileFolderCreated(FileEvent fe)
fileFolderCreated in interface FileChangeListenerpublic void fileDataCreated(FileEvent fe)
fileDataCreated in interface FileChangeListenerpublic void fileChanged(FileEvent fe)
fileChanged in interface FileChangeListenerpublic void fileDeleted(FileEvent fe)
fileDeleted in interface FileChangeListenerpublic void fileRenamed(FileRenameEvent fe)
fileRenamed in interface FileChangeListenerpublic void fileAttributeChanged(FileAttributeEvent fe)
fileAttributeChanged in interface FileChangeListenerBuilt on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.