com.metamatrix.console.ui.views.syslog
Class SysLogUtils
java.lang.Object
com.metamatrix.console.ui.views.syslog.SysLogUtils
public final class SysLogUtils
- extends java.lang.Object
- Version:
- 1.0
- Author:
- Dan Florian
Field Summary |
static java.lang.String |
PROPS
|
Method Summary |
static boolean |
equivalent(java.lang.String theOne,
java.lang.String theOther)
Compares to strings with null and the empty string
being equal. |
static boolean |
getBoolean(java.lang.String theKey)
|
static javax.swing.Icon |
getIcon(java.lang.String theKey)
|
static int |
getInt(java.lang.String theKey,
int theDefault)
|
static int |
getMnemonic(java.lang.String theKey)
|
static java.lang.Object |
getObject(java.lang.String theKey)
|
static java.lang.String |
getString(java.lang.String theKey)
|
static java.lang.String |
getString(java.lang.String theKey,
boolean theReturnNullFlag)
|
static java.lang.String |
getString(java.lang.String theKey,
java.lang.Object[] theArgs)
|
static DefaultTableModel |
setup(TableWidget theTable,
java.lang.String[] theHeaders,
int theVisibleRows,
int[] theEditableColumns)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPS
public static final java.lang.String PROPS
- See Also:
- Constant Field Values
getBoolean
public static boolean getBoolean(java.lang.String theKey)
getIcon
public static javax.swing.Icon getIcon(java.lang.String theKey)
getInt
public static int getInt(java.lang.String theKey,
int theDefault)
getObject
public static java.lang.Object getObject(java.lang.String theKey)
getMnemonic
public static int getMnemonic(java.lang.String theKey)
getString
public static java.lang.String getString(java.lang.String theKey)
getString
public static java.lang.String getString(java.lang.String theKey,
boolean theReturnNullFlag)
getString
public static java.lang.String getString(java.lang.String theKey,
java.lang.Object[] theArgs)
equivalent
public static boolean equivalent(java.lang.String theOne,
java.lang.String theOther)
- Compares to strings with
null
and the empty string
being equal.
- Parameters:
theOne
- the first string being comparedtheOther
- the second string being compared
- Returns:
true
if both strings are equivalent
setup
public static DefaultTableModel setup(TableWidget theTable,
java.lang.String[] theHeaders,
int theVisibleRows,
int[] theEditableColumns)
Copyright © 2009. All Rights Reserved.