public static interface ApplicationArchive.Entry
ApplicationArchive
. Entries are used to represent both files and
directories.Modifier and Type | Method and Description |
---|---|
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()
|
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.
|
boolean isDirectory()
String getName()
long getSize()
directory
.byte[] getSha1Digest()
InputStream getInputStream() throws IOException
directory
. The
caller is responsible for closing the stream.IOException
Copyright © 2014. All rights reserved.