public class AffineTransformConverter extends Object implements Converter<AffineTransform>
Constructor and Description |
---|
AffineTransformConverter() |
Modifier and Type | Method and Description |
---|---|
String |
format(AffineTransform transform)
Converts a value of the type returned by
Converter.getValueType() to its
plain text representation. |
Class<? extends AffineTransform> |
getValueType()
Gets the value type.
|
AffineTransform |
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<? extends AffineTransform> getValueType()
Converter
getValueType
in interface Converter<AffineTransform>
public AffineTransform parse(String text) throws ConversionException
Converter
Converter.getValueType()
.parse
in interface Converter<AffineTransform>
text
- The textual representation of the value.ConversionException
- If the conversion fails.public String format(AffineTransform transform)
Converter
Converter.getValueType()
to its
plain text representation.format
in interface Converter<AffineTransform>
transform
- The value to be converted to text.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.