Package com.bc.ceres.binding.converters
Class PathConverter
- java.lang.Object
-
- com.bc.ceres.binding.converters.PathConverter
-
-
Constructor Summary
Constructors Constructor Description PathConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat(Path value)Converts a value of the type returned byConverter.getValueType()to its plain text representation.Class<Path>getValueType()Gets the value type.Pathparse(String text)Converts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType().
-
-
-
Method Detail
-
getValueType
public Class<Path> getValueType()
Description copied from interface:ConverterGets the value type.- Specified by:
getValueTypein interfaceConverter<Path>- Returns:
- The value type.
-
parse
public Path parse(String text)
Description copied from interface:ConverterConverts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType().
-
format
public String format(Path value)
Description copied from interface:ConverterConverts a value of the type returned byConverter.getValueType()to its plain text representation.
-
-