public abstract static class SQLTypeConverters.Convertor extends java.lang.Object implements TypeConvertor
| Constructor and Description |
|---|
Convertor(java.lang.Class fromType,
java.lang.Class toType)
Construct a Converter between given fromType an toType.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
convert(java.lang.Object obj,
java.lang.String pm)
Convert the object from one type to another.
|
java.lang.Class |
fromType()
Get the type being converted from.
|
java.lang.String |
toString() |
java.lang.Class |
toType()
Get the type being converted to.
|
public Convertor(java.lang.Class fromType,
java.lang.Class toType)
fromType - The type being converted from.toType - The type being converted to.public final java.lang.Class fromType()
public final java.lang.Class toType()
public abstract java.lang.Object convert(java.lang.Object obj,
java.lang.String pm)
convert in interface TypeConvertorobj - The object to convertpm - The parameter for the convertor (null if is not specified)#convert(java.lang.Object, java.lang.String)public final java.lang.String toString()
toString in class java.lang.ObjectObject.toString()Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com