public class EscapingStopCharTester extends Object implements StopCharTester
StopCharTester
by allowing characters to be escaped
using the backslash character ('\\').Constructor and Description |
---|
EscapingStopCharTester(StopCharTester sct)
Constructs an EscapingStopCharTester with the given
StopCharTester . |
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, wait
escaping
public EscapingStopCharTester(StopCharTester sct)
StopCharTester
.sct
- the StopCharTester to be decorated with escape character functionality.public boolean isStopChar(int ch)
isStopChar
in interface StopCharTester
ch
- the character to testtrue
if the character is a stop character, false
otherwiseCopyright © 2023. All rights reserved.