Interface CommandParser.CharacterValidator
- All Known Implementing Classes:
CommandParser.AtomCharValidator,CommandParser.DigitCharValidator,CommandParser.NoopCharValidator
- Enclosing class:
- CommandParser
protected static interface CommandParser.CharacterValidator
Provides the ability to ensure characters are part of a permitted set.
-
Method Summary
-
Method Details
-
isValid
boolean isValid(char chr) Validates the supplied character.- Parameters:
chr- The character to validate.- Returns:
trueif chr is valid,falseif not.
-