|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.util.Utility
public class Utility
A couple of utility type methods.
Constructor Summary | |
---|---|
Utility()
|
Method Summary | |
---|---|
static java.lang.String |
hashTableToString(java.util.Hashtable hashTable)
This method is for printing out a hashtable (keys and values). |
static java.lang.String |
hashTableToString(java.util.Hashtable hashTable,
java.lang.String[] keysToObscure)
This method is for printing out a hashtable (keys and values). |
static java.lang.String |
stringArrayToString(java.lang.String[] string)
|
static java.lang.String |
trim(java.lang.String str)
method removes the trailing spaces in a string and returns it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utility()
Method Detail |
---|
public static java.lang.String stringArrayToString(java.lang.String[] string)
public static java.lang.String hashTableToString(java.util.Hashtable hashTable, java.lang.String[] keysToObscure)
hashTable
- - The hashtable to printkeysToObscure
- - If one of the keys is sensitive, like a password, you can
have it not be printed.
public static java.lang.String hashTableToString(java.util.Hashtable hashTable)
hashTable
- - The hashtable to print
public static java.lang.String trim(java.lang.String str)
str
-
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |