|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hydrateframework.Types
public class Types
Field Summary | |
---|---|
static char[] |
arrayNotSetchar
|
static Currency[] |
arrayNotSetCurrency
|
static java.util.Date[] |
arrayNotSetDate
|
static double[] |
arrayNotSetdouble
|
static int[] |
arrayNotSetint
|
static java.lang.String[] |
arrayNotSetString
|
static byte[] |
blobNotSet
"Not Set" value for a Blob |
static Currency |
ccyNotSet
"Not Set" value for a Currency |
static java.util.Date |
dateNotSet
"Not Set" value for a Date or Time |
protected static org.apache.commons.logging.Log |
m_log
|
static HydrateObject |
objNotSet
"Not Set" value for an HydrateObject |
static java.lang.String |
strNotSet
"Not Set" value for a String |
static java.lang.String |
strUNKNOWN
Unknown value for a String |
Constructor Summary | |
---|---|
Types()
|
Method Summary | |
---|---|
static java.text.Collator |
getCollator()
|
static java.text.DateFormat |
getDateFormat()
return a standard date formatter that can be used to when a text version of a date needs to be generated or parsed. |
static java.text.NumberFormat |
getDoubleFormat()
|
static java.text.DateFormat |
getTimeFormat()
return a standard date formatter that can be used to when a text version of a time needs to be generated or parsed. |
static java.text.DateFormat |
getTimestampFormat()
return a standard date formatter that can be used to when a text version of a date needs to be generated or parsed. |
static java.lang.Object |
readArrayFromString(java.lang.String str,
java.lang.Class cls)
|
static byte[] |
readByteArray(java.sql.ResultSet rs,
int colIdx)
Helper method to read a ResultSet column into a byte array |
static byte[] |
readBytesFromHex(java.lang.String hex)
|
static java.lang.String |
writeArrayToString(java.lang.Object objs)
|
static java.lang.String |
writeBytesToHex(byte[] bytes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log m_log
public static final java.lang.String strUNKNOWN
public static final java.lang.String strNotSet
public static final byte[] blobNotSet
public static final java.lang.String[] arrayNotSetString
public static final int[] arrayNotSetint
public static final double[] arrayNotSetdouble
public static final char[] arrayNotSetchar
public static final java.util.Date[] arrayNotSetDate
public static final Currency[] arrayNotSetCurrency
public static final Currency ccyNotSet
public static final HydrateObject objNotSet
public static final java.util.Date dateNotSet
Constructor Detail |
---|
public Types()
Method Detail |
---|
public static byte[] readByteArray(java.sql.ResultSet rs, int colIdx) throws java.sql.SQLException
rs
- the result set for which the column is to be readcolIdx
- the 1-based column number to read
java.sql.SQLException
public static java.text.DateFormat getDateFormat()
public static java.text.DateFormat getTimestampFormat()
public static java.text.DateFormat getTimeFormat()
public static java.text.NumberFormat getDoubleFormat()
public static java.lang.String writeBytesToHex(byte[] bytes)
public static byte[] readBytesFromHex(java.lang.String hex)
public static java.lang.Object readArrayFromString(java.lang.String str, java.lang.Class cls)
public static java.lang.String writeArrayToString(java.lang.Object objs)
public static java.text.Collator getCollator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |