|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.spi.registry.VFSRegistry
public abstract class VFSRegistry
VFS registry.
Constructor Summary | |
---|---|
VFSRegistry()
|
Method Summary | |
---|---|
abstract void |
addContext(VFSContext context)
Add new vfs context. |
abstract VirtualFile |
getFile(URI uri)
Get the file. |
abstract VirtualFile |
getFile(URL url)
Get the file. |
static VFSRegistry |
getInstance()
Get an instance of vfs registry. |
abstract void |
removeContext(VFSContext context)
Remove the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VFSRegistry()
Method Detail |
---|
public static VFSRegistry getInstance()
public abstract void addContext(VFSContext context)
context
- the contextpublic abstract void removeContext(VFSContext context)
context
- the contextpublic abstract VirtualFile getFile(URI uri) throws IOException
uri
- the file's uri
IOException
- for any errorpublic abstract VirtualFile getFile(URL url) throws IOException
url
- the file's url
IOException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |