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