com.espertech.esper.util
Class SimpleTypeParserFactory

java.lang.Object
  extended by com.espertech.esper.util.SimpleTypeParserFactory

public class SimpleTypeParserFactory
extends java.lang.Object

A factory for creating an instance of a parser that parses a String and returns a target type.


Constructor Summary
SimpleTypeParserFactory()
           
 
Method Summary
static SimpleTypeParser getParser(java.lang.Class clazz)
          Returns a parsers for the String value using the given Java built-in class for parsing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTypeParserFactory

public SimpleTypeParserFactory()
Method Detail

getParser

public static SimpleTypeParser getParser(java.lang.Class clazz)
Returns a parsers for the String value using the given Java built-in class for parsing.

Parameters:
clazz - is the class to parse the value to
Returns:
value matching the type passed in

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com