Package org.kordamp.ezmorph.primitive
Class AbstractIntegerMorpher
java.lang.Object
org.kordamp.ezmorph.primitive.AbstractPrimitiveMorpher
org.kordamp.ezmorph.primitive.AbstractIntegerMorpher
- All Implemented Interfaces:
Morpher
- Direct Known Subclasses:
ByteMorpher
,IntMorpher
,LongMorpher
,ShortMorpher
Base class por primitive integer conversion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getIntegerValue
(Object obj) Trims the String from the beginning to the first "."Methods inherited from class org.kordamp.ezmorph.primitive.AbstractPrimitiveMorpher
isUseDefault, supports
-
Constructor Details
-
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 Details
-
getIntegerValue
Trims the String from the beginning to the first "."
-