public class NestedZipFile extends Object implements IFile
| Constructor and Description |
|---|
NestedZipFile(IFile archive) |
NestedZipFile(IFile archive,
String pathInZip,
NestedZipDirectory parent,
NestedCloseableDirectory cache) |
NestedZipFile(IFile archive,
ZipEntry entry,
NestedZipDirectory parent,
NestedCloseableDirectory cache)
Construct a nested zip file
|
NestedZipFile(NestedZipFile other,
NestedCloseableDirectory cache) |
| Modifier and Type | Method and Description |
|---|---|
IDirectory |
convert() |
IDirectory |
convertNested() |
boolean |
equals(Object obj) |
long |
getLastModified() |
String |
getName() |
String |
getNameInZip() |
IDirectory |
getParent() |
IDirectory |
getRoot() |
long |
getSize() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isFile() |
InputStream |
open()
The input stream returned by this method should always be closed after use.
|
String |
toString() |
URL |
toURL() |
public NestedZipFile(IFile archive, ZipEntry entry, NestedZipDirectory parent, NestedCloseableDirectory cache)
archive - entry - parent - public NestedZipFile(IFile archive, String pathInZip, NestedZipDirectory parent, NestedCloseableDirectory cache)
public NestedZipFile(IFile archive)
public NestedZipFile(NestedZipFile other, NestedCloseableDirectory cache)
public String getNameInZip()
public String getName()
public boolean isDirectory()
isDirectory in interface IFilepublic boolean isFile()
public long getLastModified()
getLastModified in interface IFilepublic long getSize()
public IDirectory convert()
public IDirectory convertNested()
convertNested in interface IFilepublic IDirectory getParent()
public InputStream open() throws IOException, UnsupportedOperationException
IFileopen in interface IFileIOExceptionUnsupportedOperationException - If the IFile is also an IDirectory.public IDirectory getRoot()
public URL toURL() throws MalformedURLException
toURL in interface IFileMalformedURLExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved