|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.virtual.plugins.context.AbstractVFSContext
public abstract class AbstractVFSContext
AbstractVFSContext.
| Field Summary | |
|---|---|
protected org.jboss.logging.Logger |
log
The log |
| Constructor Summary | |
|---|---|
protected |
AbstractVFSContext(java.net.URI rootURI)
Create a new AbstractVFSContext. |
protected |
AbstractVFSContext(java.net.URL rootURL)
Create a new AbstractVFSContext. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
VirtualFileHandler |
findChild(VirtualFileHandler parent,
java.lang.String path)
Find a child |
java.util.List<VirtualFileHandler> |
getChildren(VirtualFileHandler parent,
boolean ignoreErrors)
Get the children |
java.util.Map<java.lang.String,java.lang.String> |
getOptions()
Get the context option settings |
java.net.URI |
getRootURI()
Get the root uri |
VFS |
getVFS()
Get the VFS for this context |
int |
hashCode()
|
java.lang.String |
toString()
|
void |
visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor)
Visit the virtual file system |
protected void |
visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor,
boolean includeRoot,
boolean leavesOnly,
boolean ignoreErrors,
boolean includeHidden,
VirtualFileFilter recurseFilter)
Visit. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.virtual.spi.VFSContext |
|---|
getRoot |
| Field Detail |
|---|
protected final org.jboss.logging.Logger log
| Constructor Detail |
|---|
protected AbstractVFSContext(java.net.URI rootURI)
rootURI - the root url
java.lang.IllegalArgumentException - if rootURI is null
protected AbstractVFSContext(java.net.URL rootURL)
throws java.net.URISyntaxException
rootURL - the root url
java.net.URISyntaxException
java.lang.IllegalArgumentException - if rootURI is null| Method Detail |
|---|
public VFS getVFS()
VFSContext
getVFS in interface VFSContextpublic java.net.URI getRootURI()
VFSContext
getRootURI in interface VFSContextpublic java.util.Map<java.lang.String,java.lang.String> getOptions()
VFSContext
getOptions in interface VFSContext
public java.util.List<VirtualFileHandler> getChildren(VirtualFileHandler parent,
boolean ignoreErrors)
throws java.io.IOException
VFSContext
getChildren in interface VFSContextparent - the parentignoreErrors - whether to ignore errors
java.io.IOException - for any problem accessing the VFS
public VirtualFileHandler findChild(VirtualFileHandler parent,
java.lang.String path)
throws java.io.IOException
VFSContext
findChild in interface VFSContextparent - the parentpath - the path
java.io.IOException - for any problem accessing the VFS
public void visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor)
throws java.io.IOException
VFSContext
visit in interface VFSContexthandler - the reference handlervisitor - the visitor
java.io.IOException - for any error
protected void visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor,
boolean includeRoot,
boolean leavesOnly,
boolean ignoreErrors,
boolean includeHidden,
VirtualFileFilter recurseFilter)
throws java.io.IOException
handler - the reference handlervisitor - the visitorincludeRoot - whether to visit the rootleavesOnly - whether to visit leaves onlyignoreErrors - whether to ignore errorsincludeHidden - whether to include hidden filesrecurseFilter - the recurse filter
java.io.IOException - for any problem accessing the virtual file systempublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||