org.mentawai.converter
Class IntegerConverter
java.lang.Object
org.mentawai.converter.BasicConverter
org.mentawai.converter.IntegerConverter
- All Implemented Interfaces:
- Converter
public class IntegerConverter
- extends BasicConverter
- Author:
- Sergio Oliveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerConverter
public IntegerConverter()
convert
public Object convert(Object value)
throws ConversionException
- Description copied from class:
BasicConverter
- Converts an object to another one.
Implement this method with the convertion logic.
- Specified by:
convert in class BasicConverter
- Parameters:
value - The object to convert.
- Returns:
- The new object converted.
- Throws:
ConversionException - if the conversion fail for any reason.
Copyright © 2011. All Rights Reserved.