org.glassfish.grizzly.compression.lzma
Class LZMAEncoder
java.lang.Object
org.glassfish.grizzly.AbstractTransformer<Buffer,Buffer>
org.glassfish.grizzly.compression.lzma.LZMAEncoder
- All Implemented Interfaces:
- Transformer<Buffer,Buffer>
public class LZMAEncoder
- extends AbstractTransformer<Buffer,Buffer>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LZMAEncoder
public LZMAEncoder()
LZMAEncoder
public LZMAEncoder(LZMAEncoder.LZMAProperties lzmaProperties)
getName
public java.lang.String getName()
- Description copied from interface:
Transformer
- Get the Transformer name. The name is used to store
Transformer associated data.
- Returns:
- The Transformer name.
hasInputRemaining
public boolean hasInputRemaining(AttributeStorage storage,
Buffer input)
transformImpl
protected TransformationResult<Buffer,Buffer> transformImpl(AttributeStorage storage,
Buffer input)
throws TransformationException
- Specified by:
transformImpl in class AbstractTransformer<Buffer,Buffer>
- Throws:
TransformationException
createStateObject
protected AbstractTransformer.LastResultAwareState<Buffer,Buffer> createStateObject()
- Overrides:
createStateObject in class AbstractTransformer<Buffer,Buffer>
create
public static LZMAEncoder.LZMAOutputState create()
finish
public void finish(AttributeStorage storage)
Copyright © 2011 Oracle Corpration. All Rights Reserved.