net.sf.ezmorph.primitive
Class AbstractIntegerMorpher

java.lang.Object
  extended by net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
      extended by 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

Constructor Summary
AbstractIntegerMorpher()
           
AbstractIntegerMorpher(boolean useDefault)
           
 
Method Summary
protected  String getIntegerValue(Object obj)
          Trims the String from the begining to the first "."
 
Methods inherited from class net.sf.ezmorph.primitive.AbstractPrimitiveMorpher
isUseDefault, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.ezmorph.Morpher
morphsTo
 

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-2008. All Rights Reserved.