|
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.ModuleLayeredFileSystem
public class ModuleLayeredFileSystem
Layered file system serving itself as either the user or installation layer. Holds one layer of a writable system directory, and some number of module layers.
| 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 | |
|---|---|
void |
addURLs(Collection<URL> urls)
Adds few URLs. |
static List<URL> |
collectLayers(ClassLoader loader)
|
static ModuleLayeredFileSystem |
getInstallationModuleLayer()
Get the installation layer. |
FileSystem[] |
getLayers()
Get all layers. |
static ModuleLayeredFileSystem |
getUserModuleLayer()
Get the user layer. |
void |
removeURLs(Collection<URL> urls)
Removes few URLs. |
void |
resultChanged(LookupEvent ev)
Refresh layers |
void |
setURLs(List<URL> urls)
Change the list of module layers URLs. |
| Methods inherited from class org.openide.filesystems.MultiFileSystem |
|---|
addNotify, createLocksOn, createWritableOn, createWritableOnForRename, find, findResource, findResourceOn, findSystem, getActions, getActions, getDelegates, getDisplayName, getPropagateMasks, getRoot, hiddenFiles, hideResource, isReadOnly, markUnimportant, notifyMigration, 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 final FileSystem[] getLayers()
public static ModuleLayeredFileSystem getInstallationModuleLayer()
public static ModuleLayeredFileSystem getUserModuleLayer()
public void setURLs(List<URL> urls)
throws Exception
urls - the urls describing module layers to use. ListException
public void addURLs(Collection<URL> urls)
throws Exception
Exception
public void removeURLs(Collection<URL> urls)
throws Exception
Exceptionpublic void resultChanged(LookupEvent ev)
resultChanged in interface LookupListener
public static List<URL> collectLayers(ClassLoader loader)
throws IOException
IOException
|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||