public class ByteBufferDelimiter extends Object implements BufferValue
| Modifier and Type | Field and Description |
|---|---|
AnyCharMatchFilter |
delimiterNotifier |
| Constructor and Description |
|---|
ByteBufferDelimiter() |
ByteBufferDelimiter(String delimiterChars,
String ignoreChars) |
| 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 |
onEvent() |
void |
onEventComplete() |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasCharSequencepublic AnyCharMatchFilter delimiterNotifier
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.