org.jwarp.util
Class StringListReader

java.lang.Object
  |
  +--org.jwarp.util.StringListReader

public class StringListReader
extends java.lang.Object

Utility class for converting string property lists to string arrays.

Author:
Anatole Tresch

Constructor Summary
StringListReader()
           
 
Method Summary
static java.lang.String[] readList(java.lang.String raw)
          Convert a raw string.
static java.lang.String[] readList(java.lang.String raw, java.lang.String separators)
          Convert a raw string.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringListReader

public StringListReader()
Method Detail

readList

public static java.lang.String[] readList(java.lang.String raw)
Convert a raw string.
Parameters:
raw - The input string
Returns:
The array of string sepeerated within the input string by ,/\|

readList

public static java.lang.String[] readList(java.lang.String raw,
                                          java.lang.String separators)
Convert a raw string.
Parameters:
raw - The input string
seperators - The seperators string
Returns:
The array of string sepeerated within the input string by characters given within the seperatorsa string

©   O R C A   S y s t e m s