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 Details

  • Method Details

    • 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.
      aSizes - int[] with the char/String type.
      Returns:
      String[] with the names of the Java types.