com.l2fprod.common.util.converter
Interface Converter
- All Known Implementing Classes:
- AWTConverters, BooleanConverter, ConverterRegistry, NumberConverters
public interface Converter
Converter.
Equivalent to the Apache beanutils converter
Method Summary |
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value)
Converts value to an object of type . |
convert
java.lang.Object convert(java.lang.Class type,
java.lang.Object value)
- Converts
value
to an object of type
.
- Parameters:
type
- value
-
- Returns:
value
converted to an object of type
.