public class ZipEntryFilePath extends ZipEntryPath implements FilePath
This FilePath represents an entry inside a ZIP archive identified as a path.
| Modifier and Type | Class and Description |
|---|---|
class |
ZipEntryFilePath.ZipFileInputStream
This class wraps a
ZipFile and delegate the ZipEntryFilePath.ZipFileInputStream.read() method to an InputStream created by
itself. |
ZipEntryPath.ArchiveWithParentEntry| Constructor and Description |
|---|
ZipEntryFilePath(String entry,
DirectoryPath parent)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastUpdate()
Gets the last update date of this path.
|
InputStream |
openStream()
Opens a stream to the path represented by this path.
|
findZipArchivegetAbsolutePath, getName, getParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAbsolutePath, getName, getParentpublic ZipEntryFilePath(String entry, DirectoryPath parent)
Builds a new instance.
entry - the ZIP entry nameparent - the parentpublic InputStream openStream() throws IOException
Opens a stream to the path represented by this path.
openStream in interface FilePathIOException - if stream can't be openedpublic long getLastUpdate()
throws IOException
Gets the last update date of this path.
getLastUpdate in interface PathgetLastUpdate in class ZipEntryPathIOException - if an I/O error occurs while accessing path dataCopyright © 2012-2015. All Rights Reserved.