public static class CharReadableChunker.ChunkImpl extends Object implements Source.Chunk
| Constructor and Description |
|---|
ChunkImpl(char[] buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
backPosition() |
char[] |
data() |
void |
initialize(int length,
String sourceDescription) |
int |
length() |
int |
maxFieldSize() |
String |
sourceDescription() |
int |
startPosition() |
public void initialize(int length,
String sourceDescription)
public int startPosition()
startPosition in interface Source.ChunkSource.Chunk.data() array to start reading frompublic String sourceDescription()
sourceDescription in interface Source.Chunkpublic int maxFieldSize()
maxFieldSize in interface Source.ChunkSource.Chunk.data() arraypublic int length()
length in interface Source.ChunkSource.Chunk.data()public char[] data()
data in interface Source.Chunkpublic int backPosition()
backPosition in interface Source.ChunkSource.Chunk.data() array where the current field which is being
read starts. Some characters of the current field may have started in the previous chunk
and so those characters are transfered over to this data array before Source.Chunk.startPosition()Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.