All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.util.ConvertUtil

java.lang.Object
   |
   +----jclass.util.ConvertUtil

public class ConvertUtil
extends Object
Static methods for use by JCConverter


Constructor Index

 o ConvertUtil()

Method Index

 o toCellValue(Component, String, boolean)
Converts a token to a String or JCString.
 o toVector(Component, String, char, boolean)
Converts a delimited list of tokens to a JCVector containing Strings or JCStrings.
 o toVectorFromCSV(Component, String)
Converts a comma-separated list of tokens to a JCVector.

Constructors

 o ConvertUtil
 public ConvertUtil()

Methods

 o toVector
 public static JCVector toVector(Component c,
                                 String s,
                                 char delim,
                                 boolean convert)
Converts a delimited list of tokens to a JCVector containing Strings or JCStrings. A token is converted to a JCString if it contains a square bracket ([).

Parameters:
c - the component used to retrieve images.
s - the string to convert to vector.
delim - the delimiter used to parse the string.
convert - if true, perform LiveTable data conversions.
See Also:
JCString
 o toCellValue
 public static Object toCellValue(Component c,
                                  String token,
                                  boolean convert)
Converts a token to a String or JCString. A token is converted to a JCString if it contains a square bracket ([).

Parameters:
c - the component used to retrieve images.
s - the string to convert to vector.
convert - if true, perform LiveTable data conversions.
See Also:
JCString
 o toVectorFromCSV
 public static JCVector toVectorFromCSV(Component c,
                                        String s)
Converts a comma-separated list of tokens to a JCVector.

Parameters:
c - Component used to retrieve images.
s - String to convert to vector.
Returns:
Array of tokens

All Packages  Class Hierarchy  This Package  Previous  Next  Index