|
||||||||||
| 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(File file)
Create a new FileSystemContext. |
|
FileSystemContext(URI rootURI)
Create a new FileSystemContext. |
|
FileSystemContext(URL rootURL)
Create a new FileSystemContext. |
|
| Method Summary | |
|---|---|
VirtualFileHandler |
createVirtualFileHandler(VirtualFileHandler parent,
File file)
Create a new virtual file handler |
VirtualFileHandler |
createVirtualFileHandler(VirtualFileHandler parent,
File file,
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 |
|---|
addOption, equals, getChild, 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(URL rootURL)
throws IOException,
URISyntaxException
rootURL - the root url
IOException - for an error accessing the file system
URISyntaxException - for an error parsing the uri
public FileSystemContext(URI rootURI)
throws IOException,
URISyntaxException
rootURI - the root uri
IOException - for an error accessing the file system
URISyntaxException
public FileSystemContext(File file)
throws IOException,
URISyntaxException
file - the root file
IOException - for an error accessing the file system
IllegalArgumentException - for a null file
URISyntaxException - for an error parsing the uri| Method Detail |
|---|
public VirtualFileHandler getRoot()
throws IOException
VFSContext
IOException - for any problem accessing the VFS
public VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent,
File file)
throws IOException
parent - the parentfile - the file
IOException - for any error accessing the file system
IllegalArgumentException - for a null file
public VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent,
File file,
URI uri)
throws IOException
parent - the parentfile - the fileuri - the uri
IOException - for any error accessing the file system
IllegalArgumentException - for a null file
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||