|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ideo.sweetdev.core.util.TypeFormatter
The class TypeFormatter contains utility methods to convert differents data types

| Method Summary | |
static java.lang.Object |
getObjectFromResultSet(java.sql.ResultSet _rs,
int _column,
java.lang.String _expectedType)
Retrieve a column value in a ResultSet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Object getObjectFromResultSet(java.sql.ResultSet _rs,
int _column,
java.lang.String _expectedType)
throws java.sql.SQLException
java.sql.SQLException - this exception is thrown if the expected type does not
match the column type in the ResultSet. Example : an excepted type int for
a date column._rs - the ResultSet which contains the value to retrieve_column - the index of the column which contains the value to retrieve_expectedType - String
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||