public class EscapingStopCharTester extends Object implements StopCharTester
StopCharTester where a backslash ('\\') escapes the
following character. The tester delegates to another StopCharTester
for actual stop character detection of non escaped characters.
The escape state persists for a single subsequent call to
isStopChar(int) on the same instance. Instances are therefore not
thread safe. See also EscapingStopCharsTester for the two-argument
variant.
| Constructor and Description |
|---|
EscapingStopCharTester(StopCharTester sct) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStopChar(int ch)
Tests whether the given character should be considered as a stop character.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitescapingpublic EscapingStopCharTester(StopCharTester sct)
sct - the underlying StopCharTester used when the character
is not escapedpublic boolean isStopChar(int ch)
isStopChar in interface StopCharTesterch - the character to testtrue if the character is a stop character, false otherwiseCopyright © 2026 Chronicle Software Ltd. All rights reserved.