org.relayirc.util
Class Utilities

java.lang.Object
  |
  +--org.relayirc.util.Utilities

public class Utilities
extends java.lang.Object

Utility functions.

Author:
David M. Johnson.

Constructor Summary
Utilities()
           
 
Method Summary
static java.lang.String intArrayToString(int[] intArray)
          Convert integer array to a string.
static int[] stringToIntArray(java.lang.String instr, java.lang.String delim)
          Convert string to integer array.
static java.lang.String[] stringToStringArray(java.lang.String instr, java.lang.String delim)
          Convert string to integer array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

stringToStringArray

public static java.lang.String[] stringToStringArray(java.lang.String instr,
                                                     java.lang.String delim)
Convert string to integer array.

stringToIntArray

public static int[] stringToIntArray(java.lang.String instr,
                                     java.lang.String delim)
                              throws java.util.NoSuchElementException,
                                     java.lang.NumberFormatException
Convert string to integer array.

intArrayToString

public static java.lang.String intArrayToString(int[] intArray)
Convert integer array to a string.