| 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()
ConvertergetValueType in interface Converter<Class>public Class<?> parse(String text) throws ConversionException
ConverterConverter.getValueType().parse in interface Converter<Class>text - The textual representation of the value.ConversionException - If the conversion fails.public String format(Class javaType)
ConverterConverter.getValueType() to its
plain text representation.protected void addPackageQualifier(String qualifier)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.