|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValueConverter
Defines a conversion from one data type to another.
Instances of this class should be thread-safe.
| Method Summary | |
|---|---|
Object |
convert(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. |
Object |
unconvert(Object out)
Performs a reverse conversion, from the output type to the input type. |
| Method Detail |
|---|
uk.ac.starlink.table.ValueInfo getInputInfo()
uk.ac.starlink.table.ValueInfo getOutputInfo()
Object convert(Object in)
in - object of input type
Object unconvert(Object out)
out - object of output type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||