private String toValue(String[] oneObjects, String[] file_columns, InsertColumn ic) throws SQLException { String value = ""; if (ic.getLctype().equals("File")) { value = file_columns[Integer.parseInt(ic.getExpstr())]; } else if (ic.getLctype().equals("Camp")) { value = oneObjects[Integer.parseInt(ic.getExpstr())]; } return value; }