|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArchiveAdapter
Field Summary | |
---|---|
static short |
ACCESS_READ
|
static short |
ACCESS_UNDEF
|
static short |
ACCESS_WRITE
|
Method Summary | |
---|---|
void |
addEntry(java.lang.String entryName,
long size)
Adds a new Entry |
void |
close()
Closes the archive |
void |
closeEntry()
Closes the current entry |
java.io.InputStream |
getArchiveInputStream()
Returns the inputStream that can be used to read data |
java.io.OutputStream |
getArchiveOutputStream()
Returns the outputStream that can be used to write data |
java.lang.String |
getNextEntry()
Iterates on the InputStream and returns the next entry. |
void |
setArchiveComment(java.lang.String comment)
Sets the archive comment |
void |
setCharset(java.nio.charset.Charset charset)
Sets the charset used to encode filenames |
Field Detail |
---|
static final short ACCESS_UNDEF
static final short ACCESS_WRITE
static final short ACCESS_READ
Method Detail |
---|
void close() throws java.io.IOException
java.io.IOException
void addEntry(java.lang.String entryName, long size) throws java.io.IOException
java.io.IOException
java.io.OutputStream getArchiveOutputStream()
java.io.InputStream getArchiveInputStream()
java.lang.String getNextEntry() throws java.io.IOException
java.io.IOException
void closeEntry() throws java.io.IOException
java.io.IOException
void setArchiveComment(java.lang.String comment)
void setCharset(java.nio.charset.Charset charset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |