org.apache.commons.vfs.provider.jar
Class JarFileObject

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractFileObject
      extended by org.apache.commons.vfs.provider.zip.ZipFileObject
          extended by org.apache.commons.vfs.provider.jar.JarFileObject
All Implemented Interfaces:
FileObject

public class JarFileObject
extends ZipFileObject

A file in a Jar file system.

Version:
$Revision: 659785 $ $Date: 2008-05-24 12:32:41 +0200 (Sa, 24. Mai 2008) $
Author:
Brian Olsen

Field Summary
 
Fields inherited from class org.apache.commons.vfs.provider.zip.ZipFileObject
entry
 
Constructor Summary
protected JarFileObject(FileName name, java.util.zip.ZipEntry entry, JarFileSystem fs, boolean zipExists)
           
 
Method Summary
protected  java.util.Map doGetAttributes()
          Returns the value of an attribute.
protected  java.security.cert.Certificate[] doGetCertificates()
          Return the certificates of this JarEntry.
 
Methods inherited from class org.apache.commons.vfs.provider.zip.ZipFileObject
attachChild, doGetContentSize, doGetInputStream, doGetLastModifiedTime, doGetType, doListChildren, isWriteable, setZipEntry
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileObject
canRenameTo, childrenChanged, childrenChanged, close, copyFrom, createFile, createFolder, delete, delete, doAttach, doCreateFileContent, doCreateFolder, doDelete, doDetach, doGetOutputStream, doGetRandomAccessContent, doIsHidden, doIsReadable, doIsSameFile, doIsWriteable, doListChildrenResolved, doRemoveAttribute, doRename, doSetAttribute, doSetLastModifiedTime, doSetLastModTime, endOutput, exists, finalize, findFiles, findFiles, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getFileSystem, getInputStream, getName, getOutputStream, getOutputStream, getParent, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isHidden, isReadable, isSameFile, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.vfs.FileObject
canRenameTo, close, copyFrom, createFile, createFolder, delete, delete, exists, findFiles, findFiles, getChild, getChildren, getContent, getFileOperations, getFileSystem, getName, getParent, getType, getURL, isAttached, isContentOpen, isHidden, isReadable, moveTo, refresh, resolveFile, resolveFile
 

Constructor Detail

JarFileObject

protected JarFileObject(FileName name,
                        java.util.zip.ZipEntry entry,
                        JarFileSystem fs,
                        boolean zipExists)
                 throws FileSystemException
Throws:
FileSystemException
Method Detail

doGetAttributes

protected java.util.Map doGetAttributes()
                                 throws java.lang.Exception
Returns the value of an attribute.

Overrides:
doGetAttributes in class AbstractFileObject
Throws:
java.lang.Exception

doGetCertificates

protected java.security.cert.Certificate[] doGetCertificates()
Return the certificates of this JarEntry.

Overrides:
doGetCertificates in class AbstractFileObject


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.