public class JarFileObject extends ZipFileObject
Modifier and Type | Field and Description |
---|---|
private java.util.jar.Attributes |
attributes |
private JarFileSystem |
fs |
entry
Modifier | Constructor and Description |
---|---|
protected |
JarFileObject(AbstractFileName name,
java.util.zip.ZipEntry entry,
JarFileSystem fs,
boolean zipExists) |
Modifier and Type | Method and Description |
---|---|
private void |
addAll(java.util.jar.Attributes src,
java.util.Map<java.lang.String,java.lang.Object> dest)
Adds the source attributes to the destination map.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
doGetAttributes()
Returns the value of an attribute.
|
protected java.security.cert.Certificate[] |
doGetCertificates()
Return the certificates of this JarEntry.
|
(package private) java.util.jar.Attributes |
getAttributes()
Returns the attributes of this file.
|
(package private) java.util.jar.Manifest |
getManifest()
Returns the Jar manifest.
|
attachChild, doGetContentSize, doGetInputStream, doGetLastModifiedTime, doGetType, doListChildren, isWriteable, setZipEntry
canRenameTo, childrenChanged, close, compareTo, copyFrom, createFile, createFolder, delete, delete, deleteAll, doAttach, doCreateFileContent, doCreateFolder, doDelete, doDetach, doGetOutputStream, doGetRandomAccessContent, doIsExecutable, doIsHidden, doIsReadable, doIsSameFile, doIsWriteable, doListChildrenResolved, doRemoveAttribute, doRename, doSetAttribute, doSetExecutable, doSetLastModifiedTime, doSetReadable, doSetWritable, endOutput, exists, finalize, findFiles, findFiles, getAbstractFileSystem, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getFileSystem, getInputStream, getName, getOutputStream, getOutputStream, getParent, getPublicURIString, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isExecutable, isFile, isFolder, isHidden, isReadable, isSameFile, iterator, listFiles, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, setExecutable, setReadable, setWritable, toString
private final JarFileSystem fs
private java.util.jar.Attributes attributes
protected JarFileObject(AbstractFileName name, java.util.zip.ZipEntry entry, JarFileSystem fs, boolean zipExists) throws FileSystemException
FileSystemException
java.util.jar.Manifest getManifest() throws java.io.IOException
java.io.IOException
java.util.jar.Attributes getAttributes() throws java.io.IOException
java.io.IOException
protected java.util.Map<java.lang.String,java.lang.Object> doGetAttributes() throws java.lang.Exception
doGetAttributes
in class AbstractFileObject<ZipFileSystem>
java.lang.Exception
- if an error occurs.private void addAll(java.util.jar.Attributes src, java.util.Map<java.lang.String,java.lang.Object> dest)
protected java.security.cert.Certificate[] doGetCertificates()
doGetCertificates
in class AbstractFileObject<ZipFileSystem>