|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArchiveEntry
An object which represents data which can be added to an Archive
.
Method Summary | |
---|---|
int |
getGroupId()
Returns the group id which will own this entry in the archive. |
InputStream |
getInputStream()
Returns an InputStream from the data contained in this entry. |
int |
getMode()
Returns the file permissions mode (e.g. |
String |
getPath()
Returns the path name used to identify this entry in the archive. |
long |
getSize()
Returns the size of the data contained in this entry in bytes. |
int |
getUserId()
Returns the user id which will own this entry in the archive. |
Method Detail |
---|
InputStream getInputStream() throws IOException
InputStream
from the data contained in this entry.
IOException
long getSize()
Archive
can only
store data whose size can be expressed in a 32 bit integer however the interface allows
size to be expressed as a long to support for example File
objects. The
Archive
class will guarantee that the size returned by this method can be converted
safely into a 32 bit integer.
String getPath()
int getUserId()
int getGroupId()
int getMode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |