Class JarFileObject
java.lang.Object
org.apache.commons.vfs2.provider.AbstractFileObject<ZipFileSystem>
org.apache.commons.vfs2.provider.zip.ZipFileObject
org.apache.commons.vfs2.provider.jar.JarFileObject
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Comparable<FileObject>,- Iterable<FileObject>,- FileObject
A file in a Jar file system.
- 
Field SummaryFields inherited from class org.apache.commons.vfs2.provider.zip.ZipFileObjectentryFields inherited from class org.apache.commons.vfs2.provider.AbstractFileObjectDEFAULT_BUFFER_SIZEFields inherited from interface org.apache.commons.vfs2.FileObjectEMPTY_ARRAY
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJarFileObject(AbstractFileName fileName, ZipEntry entry, JarFileSystem fileSystem, boolean zipExists) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of an attribute.protected Certificate[]Gets the certificates of this JarEntry.Methods inherited from class org.apache.commons.vfs2.provider.zip.ZipFileObjectattachChild, doAttach, doDetach, doGetContentSize, doGetInputStream, doGetLastModifiedTime, doGetType, doListChildren, isWriteable, setZipEntryMethods inherited from class org.apache.commons.vfs2.provider.AbstractFileObjectcanRenameTo, childrenChanged, close, compareTo, copyFrom, createFile, createFolder, delete, delete, deleteAll, doCreateFileContent, doCreateFolder, doDelete, doGetInputStream, doGetOutputStream, doGetRandomAccessContent, doIsExecutable, doIsHidden, doIsReadable, doIsSameFile, doIsSymbolicLink, doIsWriteable, doListChildrenResolved, doRemoveAttribute, doRename, doSetAttribute, doSetExecutable, doSetLastModifiedTime, doSetReadable, doSetWritable, endOutput, exists, finalize, findFiles, findFiles, getAbstractFileSystem, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getFileSystem, getInputStream, getInputStream, getName, getOutputStream, getOutputStream, getParent, getPublicURIString, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isExecutable, isFile, isFolder, isHidden, isReadable, isSameFile, isSymbolicLink, iterator, listFiles, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, setExecutable, setReadable, setWritable, toStringMethods inherited from class java.lang.Objectclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.commons.vfs2.FileObjectgetPath, getURIMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
JarFileObjectprotected JarFileObject(AbstractFileName fileName, ZipEntry entry, JarFileSystem fileSystem, boolean zipExists) throws FileSystemException Constructs a new instance.- Parameters:
- fileName- the file name.
- entry- the zip entry.
- fileSystem- the file system.
- zipExists- Whether the zip file exists.
- Throws:
- FileSystemException- if a file system error occurs.
 
 
- 
- 
Method Details- 
doGetAttributesReturns the value of an attribute.- Overrides:
- doGetAttributesin class- AbstractFileObject<ZipFileSystem>
- Returns:
- The attributes of the file.
- Throws:
- Exception- if an error occurs.
 
- 
doGetCertificatesGets the certificates of this JarEntry.- Overrides:
- doGetCertificatesin class- AbstractFileObject<ZipFileSystem>
- Returns:
- The certificates used to sign the file.
 
 
-