Constructor and Description |
---|
CharacterConverter() |
Modifier and Type | Method and Description |
---|---|
String |
format(Character value)
Converts a value of the type returned by
Converter.getValueType() to its
plain text representation. |
Class<Character> |
getValueType()
Gets the value type.
|
Character |
parse(String text)
Converts a value from its plain text representation to a Java object instance
of the type returned by
Converter.getValueType() . |
public Class<Character> getValueType()
Converter
getValueType
in interface Converter<Character>
public Character parse(String text) throws ConversionException
Converter
Converter.getValueType()
.parse
in interface Converter<Character>
text
- The textual representation of the value.ConversionException
- If the conversion fails.public String format(Character value)
Converter
Converter.getValueType()
to its
plain text representation.Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.