Class Converter<S,T>
java.lang.Object
org.jdesktop.beansbinding.Converter<S,T>
- Type Parameters:
S- theConverter'ssource typeT- theConverter'starget type
Converter is responsible for converting a value from one type
to another.
The conversion methods can throw RuntimeExceptions in response
to a problem in conversion. For example, a String to Integer
converter might throw a NumberFormatException if the String
can't be parsed properly into an Integer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TconvertForward(S value) Converts a value from the source type to the target type.abstract SconvertReverse(T value) Converts a value from the target type to the source type.
-
Constructor Details
-
Converter
public Converter()
-
-
Method Details
-
convertForward
-
convertReverse
-