public class ConvertUtilsObjectStringConverter extends ObjectStringConverter
FLAVOUR_OPTION_NAME
Constructor and Description |
---|
ConvertUtilsObjectStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
objectToString(Object object,
Class type,
String flavour,
Context context)
Converts an object to a string representation using ConvertUtils.
|
Object |
stringToObject(String value,
Class type,
String flavour,
Context context)
Converts an object to a string representation using ConvertUtils.
|
objectToString, stringToObject
public String objectToString(Object object, Class type, String flavour, Context context)
objectToString
in class ObjectStringConverter
object
- the object to be converted, possibly nulltype
- the property class of the object, not nullflavour
- a string allow symantic differences in formatting
to be communicated (ignored)context
- not nullpublic Object stringToObject(String value, Class type, String flavour, Context context)
stringToObject
in class ObjectStringConverter
value
- the String to be converted, not nulltype
- the property class to be returned (if possible), not nullflavour
- a string allow symantic differences in formatting
to be communicated (ignored)context
- not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.