public class ZipEntryDirectoryPath extends ZipDirectoryPath implements DirectoryPath
 This DirectoryPath represents an entry inside a ZIP archive identified as a directory.
 
| Constructor and Description | 
|---|
ZipEntryDirectoryPath(String entry,
                     DirectoryPath parent)
 Builds a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
absoluteEntryOf(String child)
 Gets the absolute entry name of the given  
String built relatively to this directory's archive. | 
long | 
getLastUpdate()
 Gets the last update date of this path. 
 | 
protected ZipFile | 
getZipFile()
 Gets the ZIP file related to this directory. 
 | 
String[] | 
list()
 Lists all the children path names of this directory. 
 | 
buildChildgetChildgetAbsolutePath, getName, getParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildgetAbsolutePath, getName, getParentpublic ZipEntryDirectoryPath(String entry, DirectoryPath parent)
Builds a new instance.
entry - the ZIP entry nameparent - the parentpublic String[] list() throws IOException
Lists all the children path names of this directory.
list in interface DirectoryPathIOException - if any I/O error occursprotected ZipFile getZipFile() throws IOException
Gets the ZIP file related to this directory.
getZipFile in class ZipDirectoryPathIOException - if any I/O error occursprotected String absoluteEntryOf(String child) throws IOException
 Gets the absolute entry name of the given String built relatively to this directory's archive.
 
absoluteEntryOf in class ZipDirectoryPathIOException - if any I/O error occurspublic long getLastUpdate()
                   throws IOException
Gets the last update date of this path.
getLastUpdate in interface PathIOException - if an I/O error occurs while accessing path dataCopyright © 2012-2015. All Rights Reserved.