|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.common.util.ReadWrite
This class defines reading and writing convenient methods
| Constructor Summary | |
ReadWrite()
|
|
| Method Summary | |
static java.lang.String |
write(java.util.ArrayList list,
java.lang.String listName,
boolean writeCountKey)
Write the content of the ArrayList |
static java.lang.String |
write(java.util.Hashtable table,
boolean prefix)
Write the content of the Hashtable in a readable format |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReadWrite()
| Method Detail |
public static java.lang.String write(java.util.Hashtable table,
boolean prefix)
Hashtable in a readable format
table - the hashtable to get keys and values fromprefix - prefix some values with tabs
String conversion for the table content
public static java.lang.String write(java.util.ArrayList list,
java.lang.String listName,
boolean writeCountKey)
ArrayList in a readable format
- Parameters:
list - the list to get the values fromlistName - give the prefix names for valueswriteCountKey - should we write the count keys
- Returns:
String conversion for the list content
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||