public class Converters extends Object
Constructor and Description |
---|
Converters() |
Modifier and Type | Method and Description |
---|---|
static Object |
getValue(String type,
String value,
ClassLoader classLoader) |
static Object |
getValue(Type type,
String value) |
static boolean |
isConvertible(Class type) |
static boolean |
isConvertible(String type,
ClassLoader classLoader) |
static boolean |
isRegisterWithVM()
Are converters registered with the VM PropertyEditorManager.
|
static void |
registerConverter(Converter converter) |
static void |
setRegisterWithVM(boolean registerWithVM)
Sets if converters registered with the VM PropertyEditorManager.
|
static String |
toString(Object value) |
public static boolean isRegisterWithVM()
public static void setRegisterWithVM(boolean registerWithVM)
public static void registerConverter(Converter converter)
public static boolean isConvertible(String type, ClassLoader classLoader)
public static boolean isConvertible(Class type)
public static String toString(Object value) throws ConversionException
ConversionException
public static Object getValue(String type, String value, ClassLoader classLoader) throws ConversionException
ConversionException
public static Object getValue(Type type, String value) throws ConversionException
ConversionException
Copyright © 2008-2013 Sonatype. All Rights Reserved.