|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ApplicationArchive.Entry
A single entry contained within an ApplicationArchive
. Entries are used to represent both files and
directories.
Method Summary | |
---|---|
InputStream |
getInputStream()
Returns the content of the entry or null if the entry is a directory . |
String |
getName()
Returns the name of entry including a path. |
byte[] |
getSha1Digest()
Returns a SHA1 digest over the contents of the entry or null if the entry
is a directory . |
long |
getSize()
Returns the size of entry or 0 if the entry is a directory . |
boolean |
isDirectory()
Returns true if the entry represents a directory. |
Method Detail |
---|
boolean isDirectory()
String getName()
long getSize()
directory
.
byte[] getSha1Digest()
contents
of the entry or null if the entry
is a directory
.
InputStream getInputStream() throws IOException
directory
. The
caller is responsible for closing the stream.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |