net.sf.ezmorph.primitive

Class AbstractIntegerMorpher

public abstract class AbstractIntegerMorpher extends AbstractPrimitiveMorpher

Base class por primitive integer conversion.

Author: Andres Almiray

Constructor Summary
AbstractIntegerMorpher()
AbstractIntegerMorpher(boolean useDefault)
Method Summary
protected StringgetIntegerValue(Object obj)
Trims the String from the begining to the first "."

Constructor Detail

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

Method Detail

getIntegerValue

protected String getIntegerValue(Object obj)
Trims the String from the begining to the first "."
Copyright © 2006-2011. All Rights Reserved.