Package org.praxislive.ide.core
Class DynamicFileSystemImpl
java.lang.Object
org.openide.filesystems.FileSystem
org.openide.filesystems.MultiFileSystem
org.praxislive.ide.core.DynamicFileSystemImpl
- All Implemented Interfaces:
Serializable,DynamicFileSystem
public class DynamicFileSystemImpl
extends org.openide.filesystems.MultiFileSystem
implements DynamicFileSystem
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openide.filesystems.FileSystem
org.openide.filesystems.FileSystem.AtomicAction -
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMounted(org.openide.filesystems.FileSystem fs) Check whether a filesystem is already mounted in this dynamic filesystem.booleanvoidmount(org.openide.filesystems.FileSystem fs) Insert filesystem into the dynamic configuration filesystemvoidunmount(org.openide.filesystems.FileSystem fs) Remove filesystem from the dynamic configuration filesystemMethods inherited from class org.openide.filesystems.MultiFileSystem
addNotify, createLocksOn, createWritableOn, createWritableOnForRename, find, findResource, findResourceOn, findSystem, getDelegates, getDisplayName, getPropagateMasks, getRoot, hiddenFiles, hideResource, markUnimportant, notifyMigration, refresh, removeNotify, setDelegates, setPropagateMasksMethods inherited from class org.openide.filesystems.FileSystem
addFileChangeListener, addFileStatusListener, addPropertyChangeListener, addVetoableChangeListener, createTempFile, findExtrasFor, fireFileStatusChanged, firePropertyChange, fireVetoableChange, getDecorator, getSystemName, getTempFolder, isDefault, isValid, removeFileChangeListener, removeFileStatusListener, removePropertyChangeListener, removeVetoableChangeListener, runAtomicAction, setSystemName, toString
-
Constructor Details
-
DynamicFileSystemImpl
public DynamicFileSystemImpl()
-
-
Method Details
-
mount
public void mount(org.openide.filesystems.FileSystem fs) Description copied from interface:DynamicFileSystemInsert filesystem into the dynamic configuration filesystem- Specified by:
mountin interfaceDynamicFileSystem- Parameters:
fs-
-
unmount
public void unmount(org.openide.filesystems.FileSystem fs) Description copied from interface:DynamicFileSystemRemove filesystem from the dynamic configuration filesystem- Specified by:
unmountin interfaceDynamicFileSystem- Parameters:
fs-
-
isMounted
public boolean isMounted(org.openide.filesystems.FileSystem fs) Description copied from interface:DynamicFileSystemCheck whether a filesystem is already mounted in this dynamic filesystem. Filesystems inserted into the configuration filesystem in other ways will not register as mounted.- Specified by:
isMountedin interfaceDynamicFileSystem- Parameters:
fs-- Returns:
-
isReadOnly
public boolean isReadOnly()- Overrides:
isReadOnlyin classorg.openide.filesystems.MultiFileSystem
-