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
-
ConvertUtil()
-
-
toCellValue(Component, String, boolean)
- Converts a token to a String or JCString.
-
toVector(Component, String, char, boolean)
- Converts a delimited list of tokens to a JCVector containing Strings
or JCStrings.
-
toVectorFromCSV(Component, String)
- Converts a comma-separated list of tokens to a JCVector.
ConvertUtil
public ConvertUtil()
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
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
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