|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.plugins.context.AbstractVFSContext
org.jboss.virtual.plugins.context.file.FileSystemContext
public class FileSystemContext
FileSystemContext.
Field Summary |
---|
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext |
---|
log |
Constructor Summary | |
---|---|
FileSystemContext(java.io.File file)
Create a new FileSystemContext. |
|
FileSystemContext(java.net.URI rootURI)
Create a new FileSystemContext. |
|
FileSystemContext(java.net.URL rootURL)
Create a new FileSystemContext. |
Method Summary | |
---|---|
VirtualFileHandler |
createVirtualFileHandler(VirtualFileHandler parent,
java.io.File file)
Create a new virtual file handler |
VirtualFileHandler |
createVirtualFileHandler(VirtualFileHandler parent,
java.io.File file,
java.net.URI uri)
Create a new virtual file handler |
protected void |
finalize()
|
VirtualFileHandler |
getRoot()
Return the root virtual file |
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext |
---|
equals, findChild, getChildren, getOptions, getRootURI, getVFS, hashCode, toString, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileSystemContext(java.net.URL rootURL) throws java.io.IOException, java.net.URISyntaxException
rootURL
- the root url
java.io.IOException
- for an error accessing the file system
java.net.URISyntaxException
- for an error parsing the uripublic FileSystemContext(java.net.URI rootURI) throws java.io.IOException
rootURI
- the root uri
java.io.IOException
- for an error accessing the file systempublic FileSystemContext(java.io.File file) throws java.io.IOException, java.net.URISyntaxException
file
- the root file
java.io.IOException
- for an error accessing the file system
java.lang.IllegalArgumentException
- for a null file
java.net.URISyntaxException
- for an error parsing the uriMethod Detail |
---|
public VirtualFileHandler getRoot() throws java.io.IOException
VFSContext
java.io.IOException
- for any problem accessing the VFSpublic VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent, java.io.File file) throws java.io.IOException
parent
- the parentfile
- the file
java.io.IOException
- for any error accessing the file system
java.lang.IllegalArgumentException
- for a null filepublic VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent, java.io.File file, java.net.URI uri) throws java.io.IOException
parent
- the parentfile
- the fileuri
- the uri
java.io.IOException
- for any error accessing the file system
java.lang.IllegalArgumentException
- for a null fileprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |