|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataEntry
This interface describes a data entry, e.g. a ZIP entry, a file, or a directory.
| Method Summary | |
|---|---|
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. |
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. |
| Method Detail |
|---|
java.lang.String getName()
boolean isDirectory()
java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException
void closeInputStream()
throws java.io.IOException
java.io.IOExceptionDataEntry getParent()
null if it doesn't
have one.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||