code: public static void feedTableDataFromHeader(DbaseFileHeader header, CreateTableData data) throws IOException {
          for (int i = 0; i < header.getNumFields(); i++) {
              String fieldsName = header.getFieldName(i);
              final int type = dbfTypeToH2Type(header,i);
              Column column = new Column(fieldsName.toUpperCase(), type);
              column.setPrecision(header.getFieldLength(i)); // set string length
              data.columns.add(column);
          }
      }
docs: Parse the DBF file then init the provided data structure
  @param header dbf header
  @param data Data to initialise
  @throws java.io.IOException