|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sevenzipjbinding.impl.OutArchiveImpl<IOutItemZip>
net.sf.sevenzipjbinding.impl.OutArchiveZipImpl
public class OutArchiveZipImpl
Zip specific archive create and update class.
Constructor Summary | |
---|---|
OutArchiveZipImpl()
|
Method Summary | |
---|---|
void |
createArchive(IOutStream outStream,
int numberOfItems,
IOutCreateCallback<? extends IOutItemZip> outCreateCallback)
Create new archive. |
void |
setLevel(int compressionLevel)
Set compression level:
|
Methods inherited from class net.sf.sevenzipjbinding.impl.OutArchiveImpl |
---|
close, createArchive, getArchiveFormat, getConnectedInArchive, getTracePrintStream, isTrace, setTrace, setTracePrintStream, updateItems |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.sevenzipjbinding.IOutCreateArchive |
---|
createArchive, getArchiveFormat |
Methods inherited from interface net.sf.sevenzipjbinding.IOutArchiveBase |
---|
getTracePrintStream, isTrace, setTrace, setTracePrintStream |
Methods inherited from interface java.io.Closeable |
---|
close |
Methods inherited from interface net.sf.sevenzipjbinding.IOutUpdateArchive |
---|
getArchiveFormat, getConnectedInArchive, updateItems |
Methods inherited from interface net.sf.sevenzipjbinding.IOutArchiveBase |
---|
getTracePrintStream, isTrace, setTrace, setTracePrintStream |
Constructor Detail |
---|
public OutArchiveZipImpl()
Method Detail |
---|
public void setLevel(int compressionLevel)
setLevel
in interface IOutFeatureSetLevel
compressionLevel
- compression level to set. -1
- use defaultpublic void createArchive(IOutStream outStream, int numberOfItems, IOutCreateCallback<? extends IOutItemZip> outCreateCallback) throws SevenZipException
IOutCreateArchiveZip
IInArchive.getConnectedOutArchive()
to get an instance of the IOutUpdateArchive
interface.outCreateCallback
is designed to get necessary information about archive items and provide
information about progress of the operation.
createArchive
in interface IOutCreateArchiveZip
outStream
- output stream to get the new archivenumberOfItems
- number of items in the new archiveoutCreateCallback
- callback object to exchange information about archive create operation.
SevenZipException
- 7-Zip or 7-Zip-JBinding error occur. Use SevenZipException.printStackTraceExtended()
to get
stack traces of this SevenZipException and of the all thrown 'cause by' exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |