org.jboss.virtual.plugins.context.jar
Class JarHandler

java.lang.Object
  extended by org.jboss.virtual.plugins.context.AbstractVirtualFileHandler
      extended by org.jboss.virtual.plugins.context.AbstractURLHandler
          extended by org.jboss.virtual.plugins.context.jar.AbstractJarHandler
              extended by org.jboss.virtual.plugins.context.jar.JarHandler
All Implemented Interfaces:
java.io.Serializable, StructuredVirtualFileHandler, VirtualFileHandler

public class JarHandler
extends AbstractJarHandler

JarHandler.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler
cachedLastModified, log, vfsUrl
 
Constructor Summary
JarHandler(VFSContext context, VirtualFileHandler parent, java.io.File file, java.net.URL url, java.lang.String name)
           
JarHandler(VFSContext context, VirtualFileHandler parent, java.net.URL url, java.lang.String name)
          Create a new JarHandler.
 
Method Summary
 
Methods inherited from class org.jboss.virtual.plugins.context.jar.AbstractJarHandler
buildParents, createChildHandler, createVirtualFileHandler, doClose, findChild, fromURL, getChildren, getEntryName, getJar, getURL, initJarFile, isLeaf
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractURLHandler
getLastModified, getSize, getURL, initCacheLastModified, isHidden, openStream, toURI, toURL
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler
checkClosed, close, equals, getName, getParent, getPathName, getVFSContext, getVirtualFile, hasBeenModified, hashCode, simpleFindChild, structuredFindChild, toString, toVfsUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JarHandler

public JarHandler(VFSContext context,
                  VirtualFileHandler parent,
                  java.net.URL url,
                  java.lang.String name)
           throws java.io.IOException
Create a new JarHandler.

Parameters:
context - the context
parent - the parent
url - the url
name - the name
Throws:
java.io.IOException - for an error accessing the file system
java.lang.IllegalArgumentException - for a null context, url or vfsPath

JarHandler

public JarHandler(VFSContext context,
                  VirtualFileHandler parent,
                  java.io.File file,
                  java.net.URL url,
                  java.lang.String name)
           throws java.io.IOException
Throws:
java.io.IOException