com.intel.hadoop.graphbuilder.parser
Class StringParser

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

public class StringParser
extends java.lang.Object
implements FieldParser<StringType>

FieldParser for StringType.


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

Constructor Detail

StringParser

public StringParser()
Method Detail

getValue

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

getType

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