public interface ValueConverter
Instances of this class should be thread-safe.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convert(java.lang.Object in)
Performs a conversion from the input type to the output type.
|
uk.ac.starlink.table.ValueInfo |
getInputInfo()
Returns metadata describing the values on the input end of the
conversion.
|
uk.ac.starlink.table.ValueInfo |
getOutputInfo()
Returns metadata describing the values on the output end of the
conversion.
|
java.lang.Object |
unconvert(java.lang.Object out)
Performs a reverse conversion, from the output type to the input type.
|
uk.ac.starlink.table.ValueInfo getInputInfo()
uk.ac.starlink.table.ValueInfo getOutputInfo()
java.lang.Object convert(java.lang.Object in)
in
- object of input typejava.lang.Object unconvert(java.lang.Object out)
out
- object of output typeCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.