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