net.sf.sevenzipjbinding.impl
Class OutArchiveBZip2Impl

java.lang.Object
  extended by net.sf.sevenzipjbinding.impl.OutArchiveImpl<IOutItemBZip2>
      extended by net.sf.sevenzipjbinding.impl.OutArchiveBZip2Impl
All Implemented Interfaces:
java.io.Closeable, IOutArchive<IOutItemBZip2>, IOutArchiveBase, IOutCreateArchive<IOutItemBZip2>, IOutCreateArchiveBZip2, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemBZip2>, IOutUpdateArchiveBZip2

public class OutArchiveBZip2Impl
extends OutArchiveImpl<IOutItemBZip2>
implements IOutCreateArchiveBZip2, IOutUpdateArchiveBZip2

BZip2 specific archive create and update class.

Since:
9.20-2.00
Author:
Boris Brodski

Constructor Summary
OutArchiveBZip2Impl()
           
 
Method Summary
 void setLevel(int compressionLevel)
          Set compression level:
  • 0 - Copy mode (no compression)
  • 1 - Fastest
  • 3 - Fast
  • 5 - Normal
  • 7 - Maximum
  • 9 - Ultra
Note, that the meaning of compression level can differ through out different archive formats.
 
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

OutArchiveBZip2Impl

public OutArchiveBZip2Impl()
Method Detail

setLevel

public void setLevel(int compressionLevel)
Set compression level: Note, that the meaning of compression level can differ through out different archive formats.

Specified by:
setLevel in interface IOutFeatureSetLevel
Parameters:
compressionLevel - compression level to set. -1 - use default