| java.lang.Object org.apache.torque.util.VillageUtils
VillageUtils | final public class VillageUtils (Code) | | Some Village related code factored out of the BasePeer.
author: Henning P. Schmiedehausen version: $Id: VillageUtils.java 476550 2006-11-18 16:08:37Z tfischer $ |
Method Summary | |
final public static void | close(TableDataSet tds) Convenience Method to close a Table Data Set without
Exception check. | final public static void | close(QueryDataSet qds) Convenience Method to close a Table Data Set without
Exception check. | final public static void | close(OutputStream os) Convenience Method to close an Output Stream without
Exception check. | final public static byte[] | hashtableToByteArray(Hashtable hash) Converts a hashtable to a byte array for storage/serialization.
Parameters: hash - The Hashtable to convert. | final public static void | setVillageValue(Criteria crit, String key, Record rec, String colName) |
close | final public static void close(TableDataSet tds)(Code) | | Convenience Method to close a Table Data Set without
Exception check.
Parameters: tds - A TableDataSet |
close | final public static void close(QueryDataSet qds)(Code) | | Convenience Method to close a Table Data Set without
Exception check.
Parameters: qds - A TableDataSet |
close | final public static void close(OutputStream os)(Code) | | Convenience Method to close an Output Stream without
Exception check.
Parameters: os - An OutputStream |
hashtableToByteArray | final public static byte[] hashtableToByteArray(Hashtable hash) throws Exception(Code) | | Converts a hashtable to a byte array for storage/serialization.
Parameters: hash - The Hashtable to convert. A byte[] with the converted Hashtable. throws: Exception - If an error occurs. |
setVillageValue | final public static void setVillageValue(Criteria crit, String key, Record rec, String colName) throws Exception(Code) | | Factored out setting of a Village Record column from a Criteria Key
Parameters: crit - The Criteria Parameters: key - The Criterion Key Parameters: rec - The Village Record Parameters: colName - The name of the Column in the Record |
|
|