com.ibm.ras
Class RASUtil

java.lang.Object
  |
  +--com.ibm.ras.RASUtil

public class RASUtil
extends java.lang.Object

This class contains constants and utility methods used by this package.


Field Summary
static java.lang.String RAS_VERSION
          The current version of the RAS Toolkit.
 
Constructor Summary
RASUtil()
           
 
Method Summary
static java.lang.Object createObject(java.lang.String name)
          Creates an Object from its class name.
static java.util.Vector stringToVector(java.lang.String source)
          Convert a String of blank-delimited strings to a Vector of Strings.
static java.lang.String vectorToString(java.util.Vector source)
          Converts a Vector of Strings to a single line with elements separated by a single blank.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RAS_VERSION

public static final java.lang.String RAS_VERSION
The current version of the RAS Toolkit.
Constructor Detail

RASUtil

public RASUtil()
Method Detail

createObject

public static java.lang.Object createObject(java.lang.String name)
Creates an Object from its class name.
Parameters:
name - The fully-qualified name of the object.
Returns:
The object, or null if the requested object could not be created.

stringToVector

public static java.util.Vector stringToVector(java.lang.String source)
Convert a String of blank-delimited strings to a Vector of Strings.
Parameters:
source - The source String to convert.
Returns:
The Vector equivalent.

vectorToString

public static java.lang.String vectorToString(java.util.Vector source)
Converts a Vector of Strings to a single line with elements separated by a single blank.
Parameters:
source - The source Vector of Strings to convert.
Returns:
The String equivalent.