public class DefaultTypeConverter<O> extends TypeConverter<O,O>
| Constructor and Description |
|---|
DefaultTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
O |
read(O output)
Converts an internal value to an external value.
|
O |
write(O input)
Converts an external value to an internal value.
|
public O write(O input) throws Exception
TypeConverterwrite in class TypeConverter<O,O>input - the external valueException - any conversion exceptionpublic O read(O output) throws Exception
TypeConverterread in class TypeConverter<O,O>output - the internal valueException - any conversion exceptionCopyright © 2017 JBoss by Red Hat. All Rights Reserved.