Package com.bc.ceres.binding.converters
Class ArrayConverter
java.lang.Object
com.bc.ceres.binding.converters.ArrayConverter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts a value of the type returned byConverter.getValueType()
to its plain text representation.Class
<?> Gets the value type.Converts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType()
.
-
Field Details
-
SEPARATOR
- See Also:
-
SEPARATOR_ESC
- See Also:
-
-
Constructor Details
-
ArrayConverter
-
-
Method Details
-
getValueType
Description copied from interface:Converter
Gets the value type.- Specified by:
getValueType
in interfaceConverter<Object>
- Returns:
- The value type.
-
parse
Description copied from interface:Converter
Converts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType()
.- Specified by:
parse
in interfaceConverter<Object>
- Parameters:
text
- The textual representation of the value.- Returns:
- The converted value.
- Throws:
ConversionException
- If the conversion fails.
-
format
Description copied from interface:Converter
Converts a value of the type returned byConverter.getValueType()
to its plain text representation.
-