|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.virtual.plugins.context.AbstractContextFactory
org.jboss.virtual.plugins.context.zip.ZipEntryContextFactory
public class ZipEntryContextFactory
ContextFactory that keeps track of ZipEntryContexts
| Constructor Summary | |
|---|---|
ZipEntryContextFactory()
ZipEntryContextFactory registers two url protocols: zip and vfszip |
|
| Method Summary | |
|---|---|
static ZipEntryContextFactory |
getInstance()
Get a reference to ZipEntryContextFactory. |
VFSContext |
getVFS(URI rootURI)
Get a VFSContext for a given URL |
VFSContext |
getVFS(URL rootURL)
Create a new ZipEntryContext. |
| Methods inherited from class org.jboss.virtual.plugins.context.AbstractContextFactory |
|---|
fromVFS, fromVFS, getProtocols |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZipEntryContextFactory()
| Method Detail |
|---|
public VFSContext getVFS(URI rootURI)
throws IOException
rootURI - - the URI for the root of the virtual context
IOException - - thrown if the root cannot be opened/accessed
public VFSContext getVFS(URL rootURL)
throws IOException
rootURL - the root url
IOException - for any errorpublic static ZipEntryContextFactory getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||