|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.myJava.file.archive.AbstractArchiveAdapter
com.myJava.file.archive.zip64.ZipArchiveAdapter
public class ZipArchiveAdapter
Field Summary |
---|
Fields inherited from class com.myJava.file.archive.AbstractArchiveAdapter |
---|
accessMode, entryCount, zin, zout |
Fields inherited from interface com.myJava.file.archive.ArchiveAdapter |
---|
ACCESS_READ, ACCESS_UNDEF, ACCESS_WRITE |
Constructor Summary | |
---|---|
ZipArchiveAdapter(java.io.InputStream in)
|
|
ZipArchiveAdapter(java.io.InputStream in,
long streamSize)
|
|
ZipArchiveAdapter(java.io.OutputStream out,
boolean useZip64,
int level)
|
|
ZipArchiveAdapter(VolumeStrategy strategy)
|
|
ZipArchiveAdapter(VolumeStrategy strategy,
long streamSize)
|
|
ZipArchiveAdapter(VolumeStrategy strategy,
long volumeSize,
boolean useZip64,
int level)
|
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.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 |
Methods inherited from class com.myJava.file.archive.AbstractArchiveAdapter |
---|
getArchiveInputStream, getArchiveOutputStream, isReader, isWriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.myJava.file.archive.ArchiveAdapter |
---|
getArchiveInputStream, getArchiveOutputStream |
Constructor Detail |
---|
public ZipArchiveAdapter(java.io.InputStream in)
public ZipArchiveAdapter(java.io.InputStream in, long streamSize)
public ZipArchiveAdapter(VolumeStrategy strategy)
public ZipArchiveAdapter(VolumeStrategy strategy, long streamSize)
public ZipArchiveAdapter(java.io.OutputStream out, boolean useZip64, int level)
public ZipArchiveAdapter(VolumeStrategy strategy, long volumeSize, boolean useZip64, int level)
Method Detail |
---|
public void addEntry(java.lang.String entryName, long size) throws java.io.IOException
ArchiveAdapter
addEntry
in interface ArchiveAdapter
addEntry
in class AbstractArchiveAdapter
java.io.IOException
public void close() throws java.io.IOException
ArchiveAdapter
close
in interface ArchiveAdapter
close
in class AbstractArchiveAdapter
java.io.IOException
public void setCharset(java.nio.charset.Charset charset)
ArchiveAdapter
setCharset
in interface ArchiveAdapter
public void setArchiveComment(java.lang.String comment)
ArchiveAdapter
setArchiveComment
in interface ArchiveAdapter
public void closeEntry() throws java.io.IOException
ArchiveAdapter
closeEntry
in interface ArchiveAdapter
java.io.IOException
public java.lang.String getNextEntry() throws java.io.IOException
ArchiveAdapter
getNextEntry
in interface ArchiveAdapter
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |