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.

Constructor Index

 o IntegerConverter()

Method Index

 o convertFromString(String)
Converts a string to a new instance of Integer.
 o convertToCode(Object)
Converts an instance of the type converted into a line of code.
 o convertToString(Object)
Returns the string representation for an instance of the type this converter converts.

Constructors

 o IntegerConverter
  public IntegerConverter()

Methods

 o convertToString
  public String convertToString(Object obj)
Returns the string representation for an instance of the type this converter converts.
Overrides:
convertToString in class Converter
 o 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
 o 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