com.compomics.util.db
Class ColumnTypeConverter
java.lang.Object
com.compomics.util.db.ColumnTypeConverter
public class ColumnTypeConverter
- extends Object
This class converts column types into Strings representing
corresponding Java types.
- Author:
- Lennart Martens
Method Summary |
static String[] |
convertTypes(int[] aTypes,
int[] aSizes)
This method converts coded SQL columntypes into
the corresponding Java objects (whose names are given
int the String[] elements). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnTypeConverter
public ColumnTypeConverter()
convertTypes
public static String[] convertTypes(int[] aTypes,
int[] aSizes)
- This method converts coded SQL columntypes into
the corresponding Java objects (whose names are given
int the String[] elements).
- Parameters:
aTypes
- int[] with the coded SQL column types.
- Returns:
- String[] with the names of the Java types.
Copyright © 2013. All Rights Reserved.