public class EncodingChunk extends Chunk
chunkLength, guid, position
Constructor and Description |
---|
EncodingChunk(BigInteger chunkLen)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addString(String toAdd)
This method appends a String.
|
Collection<String> |
getStrings()
This method returns a collection of all Strings which
were added due
addString(String) . |
String |
prettyPrint(String prefix)
This method creates a String containing useful information prepared to be
printed on STD-OUT.
|
getChunckEnd, getChunkEnd, getChunkLength, getGuid, getPosition, setPosition, toString
public EncodingChunk(BigInteger chunkLen)
chunkLen
- Length of current chunk.public void addString(String toAdd)
toAdd
- String to add.public Collection<String> getStrings()
addString(String)
.public String prettyPrint(String prefix)
prettyPrint
in class Chunk
prefix
- each line gets this string prepended.Copyright © 2005–2020 jthink.net. All rights reserved.