|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.filesystems.FileSystem
org.openide.filesystems.MultiFileSystem
org.netbeans.core.startup.layers.SystemFileSystem
public final class SystemFileSystem
The system FileSystem - represents system files under $NETBEANS_HOME/system.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openide.filesystems.FileSystem |
|---|
FileSystem.AtomicAction, FileSystem.Environment, FileSystem.HtmlStatus, FileSystem.Status |
| Field Summary |
|---|
| Fields inherited from class org.openide.filesystems.FileSystem |
|---|
PROP_DISPLAY_NAME, PROP_HIDDEN, PROP_READ_ONLY, PROP_ROOT, PROP_SYSTEM_NAME, PROP_VALID |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.openide.filesystems.MultiFileSystem |
|---|
addNotify, find, findResource, findResourceOn, findSystem, getActions, getActions, getDelegates, getPropagateMasks, getRoot, hiddenFiles, hideResource, isReadOnly, markUnimportant, prepareEnvironment, refresh, removeNotify, setDelegates, setPropagateMasks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public 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 layers
IllegalArgumentException - if there is an overlappublic FileSystem[] getLayers()
protected FileSystem createWritableOnForRename(String oldName,
String newName)
throws IOException
createWritableOnForRename in class MultiFileSystemIOException
protected FileSystem createWritableOn(String name)
throws IOException
createWritableOn in class MultiFileSystemIOException
protected 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 FileChangeListener
|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||