| Constructor and Description |
|---|
ZipDataEntry(DataEntry parent,
ZipEntry zipEntry,
ZipInputStream zipInputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInputStream()
Closes the previously retrieved InputStream.
|
InputStream |
getInputStream()
Returns an input stream for reading the content of this data entry.
|
String |
getName()
Returns the name of this data entry.
|
DataEntry |
getParent()
Returns the parent of this data entry, or
null if it doesn't
have one. |
boolean |
isDirectory()
Returns whether the data entry represents a directory.
|
String |
toString() |
public ZipDataEntry(DataEntry parent, ZipEntry zipEntry, ZipInputStream zipInputStream)
public String getName()
DataEntrypublic boolean isDirectory()
DataEntryisDirectory in interface DataEntrypublic InputStream getInputStream() throws IOException
DataEntrygetInputStream in interface DataEntryIOExceptionpublic void closeInputStream()
throws IOException
DataEntrycloseInputStream in interface DataEntryIOExceptionpublic DataEntry getParent()
DataEntrynull if it doesn't
have one.Copyright © 2015. All Rights Reserved.