com.icegreen.greenmail.imap.commands
Class CommandParser.DigitCharValidator
java.lang.Object
com.icegreen.greenmail.imap.commands.CommandParser.DigitCharValidator
- All Implemented Interfaces:
- CommandParser.CharacterValidator
- Enclosing class:
- CommandParser
protected class CommandParser.DigitCharValidator
- extends Object
- implements CommandParser.CharacterValidator
Method Summary |
boolean |
isValid(char chr)
Validates the supplied character. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandParser.DigitCharValidator
protected CommandParser.DigitCharValidator()
isValid
public boolean isValid(char chr)
- Description copied from interface:
CommandParser.CharacterValidator
- Validates the supplied character.
- Specified by:
isValid
in interface CommandParser.CharacterValidator
- Parameters:
chr
- The character to validate.
- Returns:
true
if chr is valid, false
if not.