public interface DataEntry
Modifier and Type | Method and Description |
---|---|
void |
closeInputStream()
Closes the previously retrieved InputStream.
|
java.io.InputStream |
getInputStream()
Returns an input stream for reading the content of this data entry.
|
java.lang.String |
getName()
Returns the name of this data entry.
|
java.lang.String |
getOriginalName()
Returns the original name of this data entry, i.e.
|
DataEntry |
getParent()
Returns the parent of this data entry, or
null if it doesn't
have one. |
long |
getSize()
Returns the size of this data entry, in bytes, or -1 if unknown.
|
boolean |
isDirectory()
Returns whether the data entry represents a directory.
|
java.lang.String getName()
java.lang.String getOriginalName()
long getSize()
boolean isDirectory()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
void closeInputStream() throws java.io.IOException
java.io.IOException
DataEntry getParent()
null if it doesn't
have one.