public class AsciiCharacterMatcher extends java.lang.Object implements ICharacterMatcher
Constructor and Description |
---|
AsciiCharacterMatcher(java.lang.String chars)
Create a new ASCII character matcher for identifying the set of provided ASCII characters
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(char ch)
Match the characters provided in the constructor
|
public AsciiCharacterMatcher(java.lang.String chars)
chars
- the character that this matcher should identifypublic boolean matches(char ch)
matches
in interface ICharacterMatcher
ch
- the character to be matchedICharacterMatcher.matches(char)