|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.converter.IntegerConverter
public final class IntegerConverter
Converter for Integer
objects.
It is thread-safe.
Method Summary | |
---|---|
static IntegerConverter |
create()
Returns the single IntegerConverter . |
Integer |
fromString(String value)
Converts the given String object into an object with the simple data type this converter is
intended for. |
String |
toString(Object value)
Converts the given value to a String object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IntegerConverter create()
IntegerConverter
.
public Integer fromString(String value)
String
object into an object with the simple data type this converter is
intended for.
fromString
in interface SimpleTypeConverter
value
- the String
object to convert
public String toString(Object value)
String
object.
toString
in interface SimpleTypeConverter
value
- the value to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |