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.AbstractStructuredJarHandler<Object>
                  extended by org.jboss.virtual.plugins.context.jar.JarHandler
All Implemented Interfaces:
Serializable, StructuredVirtualFileHandler, VirtualFileHandler

public class JarHandler
extends AbstractStructuredJarHandler<Object>

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
 
Constructor Summary
JarHandler(VFSContext context, VirtualFileHandler parent, File file, URL url, String name)
           
JarHandler(VFSContext context, VirtualFileHandler parent, URL url, String name)
          Create a new JarHandler.
 
Method Summary
 
Methods inherited from class org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler
buildParents, createChildHandler, createSynthenticParent, createVirtualFileHandler, extraWrapperInfo, getChild, getChildren, initJarFile, initJarFile
 
Methods inherited from class org.jboss.virtual.plugins.context.jar.AbstractJarHandler
fromURL, getEntry, getJar, getURL, handleJarFile, isLeaf
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractURLHandler
exists, getLastModified, getSize, getURL, initCacheLastModified, isHidden, openStream, toURI, toURL
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler
checkClosed, checkParentExists, close, decrement, doClose, equals, getChildPathName, getChildVfsUrl, getName, getParent, getPathName, getVFSContext, getVfsUrl, getVirtualFile, hasBeenModified, hashCode, increment, setPathName, setVfsUrl, 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,
                  URL url,
                  String name)
           throws IOException
Create a new JarHandler.

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

JarHandler

public JarHandler(VFSContext context,
                  VirtualFileHandler parent,
                  File file,
                  URL url,
                  String name)
           throws IOException
Throws:
IOException


Copyright © 2008 JBoss, A division of Red Hat, Inc. All Rights Reserved.