|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.virtual.plugins.context.AbstractVirtualFileHandler
org.jboss.virtual.plugins.context.AbstractURIHandler
public abstract class AbstractURIHandler
URIHandler stub.
Field Summary |
---|
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler |
---|
cachedLastModified, log |
Constructor Summary | |
---|---|
AbstractURIHandler(VFSContext context,
VirtualFileHandler parent,
java.net.URI uri,
java.lang.String name)
Create a newURLHandler. |
Method Summary | |
---|---|
long |
getLastModified()
When the file was last modified |
long |
getSize()
Get the size |
java.net.URI |
getURI()
Get the uri |
boolean |
isHidden()
Whether it is hidden |
java.io.InputStream |
openStream()
Access the file contents. |
java.net.URI |
toURI()
Get the VF URI (file://root/org/jboss/X.java) |
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler |
---|
checkClosed, checkParentExists, cleanup, close, decrement, delete, doClose, equals, getCertificates, getChildPathName, getChildVfsUrl, getLocalPathName, getLocalVFSContext, getName, getParent, getPathName, getRealURL, getReferences, getVFSContext, getVfsUrl, getVirtualFile, hasBeenModified, hashCode, increment, internalReplaceChild, isArchive, isTemporary, replaceChild, setPathName, setVfsUrl, simpleFindChild, structuredFindChild, toInternalVfsUrl, toString, toStringLocal, toURL, toVfsUrl |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.virtual.spi.VirtualFileHandler |
---|
exists, getChild, getChildren, isLeaf, isNested, removeChild |
Constructor Detail |
---|
public AbstractURIHandler(VFSContext context, VirtualFileHandler parent, java.net.URI uri, java.lang.String name)
context
- the contextparent
- the parenturi
- the uriname
- the name
java.lang.IllegalArgumentException
- for a null context, vfsPath or urlMethod Detail |
---|
public java.net.URI getURI()
public long getLastModified() throws java.io.IOException
VirtualFileHandler
java.io.IOException
- for any problem accessing the virtual file systempublic long getSize() throws java.io.IOException
VirtualFileHandler
java.io.IOException
- for any problem accessing the virtual file systempublic boolean isHidden() throws java.io.IOException
VirtualFileHandler
java.io.IOException
- for any problem accessing the virtual file systempublic java.io.InputStream openStream() throws java.io.IOException
VirtualFileHandler
java.io.IOException
- for any problem accessing the virtual file systempublic java.net.URI toURI()
VirtualFileHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |