| Modifier and Type | Field and Description |
|---|---|
static String |
SEPARATOR |
static String |
SEPARATOR_ESC |
| Constructor and Description |
|---|
ArrayConverter(Class<?> arrayType,
Converter componentConverter) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Object array)
Converts a value of the type returned by
Converter.getValueType() to its
plain text representation. |
Class<?> |
getValueType()
Gets the value type.
|
Object |
parse(String text)
Converts a value from its plain text representation to a Java object instance
of the type returned by
Converter.getValueType(). |
public static final String SEPARATOR
public static final String SEPARATOR_ESC
public Class<?> getValueType()
ConvertergetValueType in interface Converter<Object>public Object parse(String text) throws ConversionException
ConverterConverter.getValueType().parse in interface Converter<Object>text - The textual representation of the value.ConversionException - If the conversion fails.public String format(Object array)
ConverterConverter.getValueType() to its
plain text representation.Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.