|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.castor.jdo.engine.SQLTypeConverters
| Nested Class Summary | |
static class |
SQLTypeConverters.Convertor
Abstract class to convert from one type to another. |
| Method Summary | |
static TypeConvertor |
getConvertor(java.lang.Class fromType,
java.lang.Class toType)
Returns a type convertor. |
static java.lang.String |
getFullDatePattern(java.lang.String pattern)
Transforms short date format pattern into full format pattern for SimpleDateFormat (e.g., "YMD" to "yyyyMMdd"). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.String getFullDatePattern(java.lang.String pattern)
pattern - The short pattern.
public static TypeConvertor getConvertor(java.lang.Class fromType,
java.lang.Class toType)
throws MappingException
fromType - The Java type to convert from.toType - The Java type to convert to.
MappingException - No suitable convertor was found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||