com.twitter.common.args.parsers
Class BooleanParser

java.lang.Object
  extended by com.twitter.common.args.parsers.NonParameterizedTypeParser<Boolean>
      extended by com.twitter.common.args.parsers.BooleanParser

Boolean parser.


Constructor Summary
BooleanParser()
          
Method Summary
 Boolean 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

BooleanParser

public BooleanParser()
Method Detail

doParse

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

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