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