Package com.compomics.util.db
Class ColumnTypeConverter
java.lang.Object
com.compomics.util.db.ColumnTypeConverter
This class converts column types into Strings representing
corresponding Java types.
- Author:
- Lennart Martens
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-