|
||||||||||
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 VFSContext |
getContext(java.net.URI uri)
Get the context. |
VFSContext |
getContext(java.net.URL url)
Get the context. |
abstract VirtualFile |
getFile(java.net.URI uri)
Get the file. |
VirtualFile |
getFile(java.net.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 VFSContext getContext(java.net.URI uri) throws java.io.IOException
uri
- the uri to match
java.io.IOException
- for any IO errorpublic VFSContext getContext(java.net.URL url) throws java.io.IOException
url
- the url to match
java.io.IOException
- for any IO errorpublic abstract VirtualFile getFile(java.net.URI uri) throws java.io.IOException
uri
- the file's uri
java.io.IOException
- for any errorpublic VirtualFile getFile(java.net.URL url) throws java.io.IOException
url
- the file's url
java.io.IOException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |