com.ibm.redback.utils
Class Util

java.lang.Object
  |
  +--com.ibm.redback.utils.Util

public class Util
extends java.lang.Object

General utilities like get Data time, Center the object etc.


Constructor Summary
Util()
          Util constructor comment.
 
Method Summary
static void centreComponent(java.awt.Component param)
          Centre the passed component - using current screen size and component size to calculate the required position.
static java.util.Vector filter(java.lang.String s, java.util.Vector list)
          Filters the given string from the list Creation date: (9/12/2001 2:30:58 PM)
static java.lang.String getDate()
          Gets the current data.
static java.lang.String getDateTime()
          Gets current time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Util constructor comment.
Method Detail

centreComponent

public static void centreComponent(java.awt.Component param)
Centre the passed component - using current screen size and component size to calculate the required position. Creation date: (8/9/2001 3:44:54 PM)
Parameters:
param - java.awt.Component the component to be centered

filter

public static java.util.Vector filter(java.lang.String s,
                                      java.util.Vector list)
Filters the given string from the list Creation date: (9/12/2001 2:30:58 PM)
Parameters:
s - java.lang.String
list - java.util.Vector
Returns:
java.util.Vector

getDate

public static java.lang.String getDate()
Gets the current data. Creation date: (8/3/2001 11:40:51 AM)
Returns:
java.lang.String

getDateTime

public static java.lang.String getDateTime()
Gets current time. Creation date: (8/3/2001 11:43:17 AM)
Returns:
java.lang.String