public class Csv2ByteBufferTemp extends Object implements BufferValue
| Modifier and Type | Field and Description |
|---|---|
int |
fieldNumber
field number to extract value from, zero indexed
|
int |
headerLines
Number of headlines to ignore
|
protected boolean |
processCharForParse
internal flag, if true the char event should be used for parsing the
intValue
|
| Constructor and Description |
|---|
Csv2ByteBufferTemp() |
Csv2ByteBufferTemp(int fieldNumber) |
Csv2ByteBufferTemp(int fieldNumber,
String terminatorChars,
int headerLines) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appendToBuffer(CharEvent e) |
CharSequence |
asCharSequence() |
String |
asString() |
ByteBuffer |
clone() |
ByteBuffer |
getBuffer() |
void |
init() |
boolean |
onDelimiter(CharEvent e) |
boolean |
onEol(CharEvent e) |
boolean |
onEvent() |
void |
onEventComplete() |
String |
toString() |
public int fieldNumber
public int headerLines
protected transient boolean processCharForParse
public Csv2ByteBufferTemp(int fieldNumber,
String terminatorChars,
int headerLines)
public Csv2ByteBufferTemp(int fieldNumber)
public Csv2ByteBufferTemp()
public boolean onEol(CharEvent e)
public boolean onDelimiter(CharEvent e)
public boolean onEvent()
public void onEventComplete()
public boolean appendToBuffer(CharEvent e)
public void init()
public ByteBuffer getBuffer()
getBuffer in interface BufferValuepublic ByteBuffer clone()
clone in interface BufferValueclone in class Objectpublic String asString()
asString in interface BufferValuepublic CharSequence asCharSequence()
asCharSequence in interface BufferValueCopyright © 2019. All rights reserved.