public class EscapingStopCharTester extends Object implements StopCharTester
| Constructor and Description |
|---|
EscapingStopCharTester(StopCharTester sct) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStopChar(int ch)
Detect which byte stops the string to be parsed
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitescapingpublic EscapingStopCharTester(StopCharTester sct)
public boolean isStopChar(int ch)
throws net.openhft.chronicle.core.io.IORuntimeException
StopCharTester
This should be changed to support char instead.
Note: for safety reasons, you should stop on a 0 byte or throw an IllegalStateException.
isStopChar in interface StopCharTesterch - to test, 0 should return true or throw an exception.IORuntimeException - if an invalid character like 0 was detected.net.openhft.chronicle.core.io.IORuntimeExceptionCopyright © 2016. All rights reserved.