|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.util.VillageUtils
public final class VillageUtils
Some Village related code factored out of the BasePeer.
Method Summary | |
---|---|
static void |
close(java.io.OutputStream os)
Convenience Method to close an Output Stream without Exception check. |
static void |
close(com.workingdogs.village.QueryDataSet qds)
Convenience Method to close a Table Data Set without Exception check. |
static void |
close(com.workingdogs.village.TableDataSet tds)
Convenience Method to close a Table Data Set without Exception check. |
static byte[] |
hashtableToByteArray(java.util.Hashtable hash)
Converts a hashtable to a byte array for storage/serialization. |
static void |
setVillageValue(Criteria crit,
java.lang.String key,
com.workingdogs.village.Record rec,
java.lang.String colName)
Factored out setting of a Village Record column from a Criteria Key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final void close(com.workingdogs.village.TableDataSet tds)
tds
- A TableDataSetpublic static final void close(com.workingdogs.village.QueryDataSet qds)
qds
- A TableDataSetpublic static final void close(java.io.OutputStream os)
os
- An OutputStreampublic static final byte[] hashtableToByteArray(java.util.Hashtable hash) throws java.lang.Exception
hash
- The Hashtable to convert.
java.lang.Exception
- If an error occurs.public static final void setVillageValue(Criteria crit, java.lang.String key, com.workingdogs.village.Record rec, java.lang.String colName) throws java.lang.Exception
crit
- The Criteriakey
- The Criterion Keyrec
- The Village RecordcolName
- The name of the Column in the Record
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |