|
||||||||||
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.jar.JarContext
public class JarContext
JarContext.
Field Summary |
---|
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext |
---|
log |
Constructor Summary | |
---|---|
JarContext(java.net.URL rootURL)
Create a new JarContext. |
Method Summary | |
---|---|
protected VirtualFileHandler |
createVirtualFileHandler(VirtualFileHandler parent,
java.net.URL url)
Create a new virtual file handler |
static java.lang.String |
entryPath(java.lang.String entryName)
|
static java.lang.String |
extractJarName(java.lang.String urlStr)
Extract jar name. |
protected void |
finalize()
|
java.lang.String |
getName()
Get the name. |
VirtualFileHandler |
getRoot()
Return the root virtual file |
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext |
---|
addTempInfo, cleanup, cleanupTempInfo, createNewOptions, equals, getChild, getChildren, getChildURL, getConstraints, getExceptionHandler, getFurthestParentTemp, getOption, getOption, getOption, getOptions, getPeerContext, getRootPeer, getRootURI, getTempInfo, getTempInfos, getTempStore, getVFS, hashCode, setExceptionHandler, setOption, setOptionsToURL, setRootPeer, setTempStore, toString, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JarContext(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 URIMethod Detail |
---|
public java.lang.String getName()
VFSContext
public VirtualFileHandler getRoot() throws java.io.IOException
VFSContext
java.io.IOException
- for any problem accessing the VFSprotected VirtualFileHandler createVirtualFileHandler(VirtualFileHandler parent, java.net.URL url) throws java.io.IOException
parent
- the parenturl
- the url
java.io.IOException
- for any error accessing the file system
java.lang.IllegalArgumentException
- for a null entry or urlpublic static java.lang.String entryPath(java.lang.String entryName)
public static java.lang.String extractJarName(java.lang.String urlStr)
urlStr
- the url string
protected 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 |