com.compomics.util.db
Class ColumnTypeConverter

java.lang.Object
  extended by com.compomics.util.db.ColumnTypeConverter

public class ColumnTypeConverter
extends java.lang.Object

This class converts column types into Strings representing corresponding Java types.

Author:
Lennart Martens

Constructor Summary
ColumnTypeConverter()
           
 
Method Summary
static java.lang.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
 

Constructor Detail

ColumnTypeConverter

public ColumnTypeConverter()
Method Detail

convertTypes

public static java.lang.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 © 2011. All Rights Reserved.