lzma.streams
Class LzmaOutputStream.Builder
java.lang.Object
lzma.streams.LzmaOutputStream.Builder
- Enclosing class:
- LzmaOutputStream
public static class LzmaOutputStream.Builder
- extends Object
A convenient builder that makes it easier to configure the LZMA encoder.
Default values:
- dictionnary size: max
- end marker mode: true
- match finder: BT4
- number of fast bytes: 0x20
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LzmaOutputStream.Builder
public LzmaOutputStream.Builder(OutputStream out)
useMaximalDictionarySize
public LzmaOutputStream.Builder useMaximalDictionarySize()
useMediumDictionarySize
public LzmaOutputStream.Builder useMediumDictionarySize()
useMinimalDictionarySize
public LzmaOutputStream.Builder useMinimalDictionarySize()
useEndMarkerMode
public LzmaOutputStream.Builder useEndMarkerMode(boolean endMarkerMode)
useBT4MatchFinder
public LzmaOutputStream.Builder useBT4MatchFinder()
useBT2MatchFinder
public LzmaOutputStream.Builder useBT2MatchFinder()
useMinimalFastBytes
public LzmaOutputStream.Builder useMinimalFastBytes()
useMediumFastBytes
public LzmaOutputStream.Builder useMediumFastBytes()
useMaximalFastBytes
public LzmaOutputStream.Builder useMaximalFastBytes()
build
public LzmaOutputStream build()
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.