|
||||||||||
| 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 uri
public FileSystemContext(java.net.URI rootURI)
throws java.io.IOException
rootURI - the root uri
java.io.IOException - for an error accessing the file system
public 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 uri| Method Detail |
|---|
public VirtualFileHandler getRoot()
throws java.io.IOException
VFSContext
java.io.IOException - for any problem accessing the VFS
public 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 file
public 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 file
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||