com.hrstc.utils
Class StringUtils

java.lang.Object
  extended by com.hrstc.utils.StringUtils

public class StringUtils
extends java.lang.Object


Constructor Summary
StringUtils()
          Creates a new instance of StringUtils
 
Method Summary
static int indexOf(java.lang.String str, java.lang.String searchStr, int occurence)
           
static void main(java.lang.String[] args)
           
static java.lang.String stringToAlphaNumeric(java.lang.String str)
          Leaves only AlphaNumeric and space chars
static java.util.Hashtable stringToHashtable(java.lang.String valsStr, java.lang.String fldsStr)
           
static java.lang.String[] stringToStringArray(java.lang.String str)
           
static java.lang.String toString(java.io.Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Creates a new instance of StringUtils

Method Detail

indexOf

public static int indexOf(java.lang.String str,
                          java.lang.String searchStr,
                          int occurence)

stringToHashtable

public static java.util.Hashtable stringToHashtable(java.lang.String valsStr,
                                                    java.lang.String fldsStr)

stringToStringArray

public static java.lang.String[] stringToStringArray(java.lang.String str)

stringToAlphaNumeric

public static java.lang.String stringToAlphaNumeric(java.lang.String str)
Leaves only AlphaNumeric and space chars


toString

public static java.lang.String toString(java.io.Reader reader)
                                 throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments