public class CrlfStringByteChunkCollector extends Object implements ByteChunkSplitterCollector<String>
| Modifier and Type | Field and Description |
|---|---|
static byte |
DELIMITER |
| Constructor and Description |
|---|
CrlfStringByteChunkCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(byte[] bytes,
int start,
int length)
Encode a single item and store in a data structure potentially shared with other items.
|
String |
encode(byte[] bytes,
int start,
int length)
Encode a single item
|
List<String> |
toList() |
public static final byte DELIMITER
public String encode(byte[] bytes, int start, int length)
ByteChunkSplitterCollectorencode in interface ByteChunkSplitterCollector<String>public void collect(byte[] bytes,
int start,
int length)
ByteChunkSplitterCollectorcollect in interface ByteChunkSplitterCollector<String>public List<String> toList()
toList in interface ByteChunkSplitterCollector<String>Copyright © 2009–2021. All rights reserved.