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