Constructor and Description |
---|
ClassConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPackageQualifier(String qualifier) |
String |
format(Class javaType)
Converts a value of the type returned by
Converter.getValueType() to its
plain text representation. |
Class<Class> |
getValueType()
Gets the value type.
|
Class |
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<Class> getValueType()
Converter
getValueType
in interface Converter<Class>
public Class parse(String text) throws ConversionException
Converter
Converter.getValueType()
.parse
in interface Converter<Class>
text
- The textual representation of the value.ConversionException
- If the conversion fails.public String format(Class javaType)
Converter
Converter.getValueType()
to its
plain text representation.protected void addPackageQualifier(String qualifier)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.