Class sunsoft.jws.visual.rt.type.IntegerConverter
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.type.IntegerConverter
java.lang.Object
|
+----sunsoft.jws.visual.rt.type.Converter
|
+----sunsoft.jws.visual.rt.type.IntegerConverter
- public class IntegerConverter
- extends Converter
Converts Integers to strings and back again.
-
IntegerConverter()
-
-
convertFromString(String)
- Converts a string to a new instance of Integer.
-
convertToCode(Object)
- Converts an instance of the type converted into a line of code.
-
convertToString(Object)
- Returns the string representation for an instance of the type this
converter converts.
IntegerConverter
public IntegerConverter()
convertToString
public String convertToString(Object obj)
- Returns the string representation for an instance of the type this
converter converts.
- Overrides:
- convertToString in class Converter
convertFromString
public Object convertFromString(String s)
- Converts a string to a new instance of Integer.
- Throws: ParseException
- when the string is badly formatted
- Overrides:
- convertFromString in class Converter
convertToCode
public String convertToCode(Object obj)
- Converts an instance of the type converted into a line of code.
- Overrides:
- convertToCode in class Converter
All Packages Class Hierarchy This Package Previous Next Index