public class PropertyEditors extends Object
Constructor | Description |
---|---|
PropertyEditors() |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
canConvert(Class type) |
|
static boolean |
canConvert(String type,
ClassLoader classLoader) |
|
static Object |
getValue(Type type,
String value) |
|
static Object |
getValue(String type,
String value,
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 canConvert(String type, ClassLoader classLoader)
public static boolean canConvert(Class type)
public static String toString(Object value) throws PropertyEditorException
PropertyEditorException
public static Object getValue(String type, String value, ClassLoader classLoader) throws PropertyEditorException
PropertyEditorException
public static Object getValue(Type type, String value) throws PropertyEditorException
PropertyEditorException
Copyright © 2005–2018. All rights reserved.