TO - the type to which to convert to.FROM - the type from which to convert.public interface ValueConvertor<FROM,TO>
| Modifier and Type | Method and Description |
|---|---|
TO |
convert(FROM value)
Convert the given object to the convertor data type.
|
TO convert(FROM value) throws ValueConvertorException
value - the object to convert.ValueConvertorException - in case the conversion failed.Copyright © 2008-2018 FedICT. All Rights Reserved.