public final class SQLTypeConverters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLTypeConverters.Convertor
Abstract class to convert from one type to another.
|
| Modifier and Type | Method and Description |
|---|---|
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").
|
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.Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com