com.adaptrex.core.ext
Class ExtTypeFormatter

java.lang.Object
  extended by com.adaptrex.core.ext.ExtTypeFormatter

public class ExtTypeFormatter
extends Object


Field Summary
static String AUTO
           
static String BOOLEAN
           
static String DATE
           
static String FLOAT
           
static String INT
           
static String STRING
           
 
Constructor Summary
ExtTypeFormatter()
           
 
Method Summary
static Object format(Object value)
           
static String getType(Class<?> clazz)
           
static Object parse(Object value, Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN

public static String BOOLEAN

INT

public static String INT

FLOAT

public static String FLOAT

STRING

public static String STRING

DATE

public static String DATE

AUTO

public static String AUTO
Constructor Detail

ExtTypeFormatter

public ExtTypeFormatter()
Method Detail

getType

public static String getType(Class<?> clazz)

parse

public static Object parse(Object value,
                           Class<?> clazz)
                    throws Exception
Throws:
Exception

format

public static Object format(Object value)


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.