public class StringToInteger extends StringToObject
Integer.valueOf(String)
.Constructor and Description |
---|
StringToInteger() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
toObject(java.lang.String string,
java.lang.Class<?> objectClass) |
java.lang.String |
toString(java.lang.Object object) |
convertSourceToTargetClass, convertTargetToSourceClass, getSourceClass, getTargetClass
public java.lang.Object toObject(java.lang.String string, java.lang.Class<?> objectClass) throws java.lang.Exception
toObject
in class StringToObject
java.lang.Exception
public java.lang.String toString(java.lang.Object object) throws java.lang.Exception
toString
in class StringToObject
java.lang.Exception