com.twitter.common.args.parsers
Class CharacterParser

java.lang.Object
  extended by com.twitter.common.args.parsers.NonParameterizedTypeParser<Character>
      extended by com.twitter.common.args.parsers.CharacterParser

Character parser.


Constructor Summary
CharacterParser()
          
Method Summary
 Character doParse(String raw)
          
Methods inherited from class com.twitter.common.args.parsers.NonParameterizedTypeParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterParser

public CharacterParser()
Method Detail

doParse

public Character doParse(String raw)
Description copied from class: NonParameterizedTypeParser
Performs the parsing of the raw string.

Specified by:
doParse in class NonParameterizedTypeParser<Character>
Parameters:
raw - Value to parse.
Returns:
The parsed value.