public class Csv2ByteBuffer extends Object implements BufferValue
| Modifier and Type | Field and Description |
|---|---|
AnyCharMatchFilter |
delimiterNotifier |
AnyCharMatchFilter |
eolNotifier |
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 |
|---|
Csv2ByteBuffer() |
Csv2ByteBuffer(int fieldNumber) |
Csv2ByteBuffer(int fieldNumber,
String terminatorChars,
int headerLines) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appendToBuffer(CharEvent e) |
String |
asString() |
String |
cacheString() |
ByteBuffer |
clone() |
ByteBuffer |
getBuffer() |
void |
init() |
boolean |
onDelimiter(AnyCharMatchFilter terminatorNotifier) |
boolean |
onEol(AnyCharMatchFilter terminatorNotifier) |
boolean |
onEvent() |
void |
onEventComplete() |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharSequencepublic int fieldNumber
public int headerLines
protected transient boolean processCharForParse
public AnyCharMatchFilter eolNotifier
public AnyCharMatchFilter delimiterNotifier
public Csv2ByteBuffer(int fieldNumber,
String terminatorChars,
int headerLines)
public Csv2ByteBuffer(int fieldNumber)
public Csv2ByteBuffer()
public boolean onEol(AnyCharMatchFilter terminatorNotifier)
public boolean onDelimiter(AnyCharMatchFilter terminatorNotifier)
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 String cacheString()
Copyright © 2019. All rights reserved.