com.intel.hadoop.graphbuilder.parser
Class IntParser

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.parser.IntParser
All Implemented Interfaces:
FieldParser<IntType>

public class IntParser
extends java.lang.Object
implements FieldParser<IntType>

Parser for IntType.


Constructor Summary
IntParser()
           
 
Method Summary
 java.lang.Class getType()
           
 IntType getValue(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntParser

public IntParser()
Method Detail

getValue

public IntType getValue(java.lang.String text)
Specified by:
getValue in interface FieldParser<IntType>
Returns:
the parsed value type.

getType

public java.lang.Class getType()
Specified by:
getType in interface FieldParser<IntType>
Returns:
the class of the value type.