Class sunsoft.jws.visual.rt.type.StringArrayConverter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.type.StringArrayConverter

java.lang.Object
   |
   +----sunsoft.jws.visual.rt.type.Converter
           |
           +----sunsoft.jws.visual.rt.type.StringArrayConverter

public class StringArrayConverter
extends Converter
Converts array of strings to a single string and back again. The string representation is a string of comma-separated strings. Commas are not (currently) allowed in the strings.

Constructor Index

 o StringArrayConverter()

Method Index

 o convertFromString(String)
Returns a new instance of the type this converter converts, as specified by the string given.
 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 StringArrayConverter
  public StringArrayConverter()

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)
Returns a new instance of the type this converter converts, as specified by the string given.
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