net.sf.ezmorph.primitive
Class AbstractIntegerMorpher
java.lang.Object
net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
net.sf.ezmorph.primitive.AbstractIntegerMorpher
- All Implemented Interfaces:
- Morpher
- Direct Known Subclasses:
- ByteMorpher, IntMorpher, LongMorpher, ShortMorpher
public abstract class AbstractIntegerMorpher
- extends AbstractPrimitiveMorpher
Base class por primitive integer conversion.
- Author:
- Andres Almiray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractIntegerMorpher
public AbstractIntegerMorpher()
AbstractIntegerMorpher
public AbstractIntegerMorpher(boolean useDefault)
- Parameters:
useDefault
- if morph() should return a default value if the value to
be morphed is null
getIntegerValue
protected String getIntegerValue(Object obj)
- Trims the String from the begining to the first "."
Copyright © 2006-2008. All Rights Reserved.