com.icegreen.greenmail.imap.commands
Interface CommandParser.CharacterValidator

All Known Implementing Classes:
CommandParser.ATOM_CHARValidator, 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
 boolean isValid(char chr)
          Validates the supplied character.
 

Method Detail

isValid

boolean isValid(char chr)
Validates the supplied character.

Parameters:
chr - The character to validate.
Returns:
true if chr is valid, false if not.