com.twitter.common.args.parsers
Class ClassParser

java.lang.Object
  extended by com.twitter.common.args.parsers.TypeParameterizedParser<Class>
      extended by com.twitter.common.args.parsers.ClassParser

Class parser.


Constructor Summary
ClassParser()
          
Method Summary
 Class doParse(ParserOracle parserOracle, String raw, List<Type> typeParams)
          
Methods inherited from class com.twitter.common.args.parsers.TypeParameterizedParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassParser

public ClassParser()
Method Detail

doParse

public Class doParse(ParserOracle parserOracle,
                     String raw,
                     List<Type> typeParams)
Description copied from class: TypeParameterizedParser
Performs the actual parsing.

Parameters:
parserOracle - The registered parserOracle for delegation.
raw - The raw value to parse.
typeParams - The captured actual type parameters for T.
Returns:
The parsed value.