Package 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
-
Constructor Summary
Constructors Constructor Description ColumnTypeConverter()
Empty default constructor -
Method Summary
Modifier and Type Method Description 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).
-
Constructor Details
-
ColumnTypeConverter
public ColumnTypeConverter()Empty default constructor
-
-
Method Details
-
convertTypes
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.aSizes
- int[] with the char/String type.- Returns:
- String[] with the names of the Java types.
-