public interface DataEntry
| 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 getName()
boolean isDirectory()
InputStream getInputStream() throws IOException
IOExceptionvoid closeInputStream()
throws IOException
IOExceptionDataEntry getParent()
null if it doesn't
have one.Copyright © 2015. All Rights Reserved.