utils
Class VSTools

java.lang.Object
  extended by utils.VSTools

public final class VSTools
extends java.lang.Object

The class VSTools. This class contains only static methods. Those methods are for general usage and don't fit into other classes.

Author:
Paul C. Buetow

Constructor Summary
VSTools()
           
 
Method Summary
static long getStringTime(java.lang.String string)
          Gets the string time.
static java.lang.String getTimeString(long time)
          Gets the time string.
static java.util.Vector<java.lang.Integer> parseIntegerVector(java.lang.String string)
          Gets the integer vector represented by a comma separated string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VSTools

public VSTools()
Method Detail

getTimeString

public static java.lang.String getTimeString(long time)
Gets the time string.

Parameters:
time - the time
Returns:
the time string

getStringTime

public static long getStringTime(java.lang.String string)
Gets the string time.

Parameters:
string - the string
Returns:
the string time

parseIntegerVector

public static java.util.Vector<java.lang.Integer> parseIntegerVector(java.lang.String string)
                                                              throws VSParseIntegerVectorException
Gets the integer vector represented by a comma separated string.

Parameters:
string - the string
Returns:
the parsed vector
Throws:
VSParseIntegerVectorException