Class LZ77Compressor.Block
- java.lang.Object
-
- org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block
-
- Direct Known Subclasses:
LZ77Compressor.AbstractReference,LZ77Compressor.EOD
- Enclosing class:
- LZ77Compressor
public abstract static class LZ77Compressor.Block extends java.lang.Object
Base class representing blocks the compressor may emit.This class is not supposed to be subclassed by classes outside of Commons Compress so it is considered internal and changed that would break subclasses may get introduced with future releases.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLZ77Compressor.Block.BlockTypeEnumerates the block types the compressor emits.
-
Constructor Summary
Constructors Modifier Constructor Description Block()Deprecated.UseBlock().protectedBlock(LZ77Compressor.Block.BlockType type)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LZ77Compressor.Block.BlockTypegetType()Gets the the block type.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Block
protected Block(LZ77Compressor.Block.BlockType type)
Constructs a new instance.- Parameters:
type- the block type, may not benull.
-
-
Method Detail
-
getType
public LZ77Compressor.Block.BlockType getType()
Gets the the block type.- Returns:
- the the block type.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-