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 String
format(Path value)
Converts a value of the type returned byConverter.getValueType()
to its plain text representation.Class<Path>
getValueType()
Gets the value type.Path
parse(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:Converter
Gets the value type.- Specified by:
getValueType
in interfaceConverter<Path>
- Returns:
- The value type.
-
parse
public Path parse(String text)
Description copied from interface:Converter
Converts 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:Converter
Converts a value of the type returned byConverter.getValueType()
to its plain text representation.
-
-