this.recordNumber++; final String comment = sb == null ? null : sb.toString(); result = new CSVRecord(this.recordList.toArray(new String[this.recordList.size()]), this.headerMap, comment, this.recordNumber, startCharPosition);
/** * Instantiates a new record. * * @param values the values * @param mapping the mapping of column name to column index * @return the record */ public static CSVRecord newRecord(final String[] values, final Map<String, Integer> mapping) { return new CSVRecord(values, mapping, null, -1, -1); }
/** * Instantiates a new record. * * @param values the values * @param mapping the mapping of column name to column index * @param comment the comment * @param recordNumber the record number * @param characterPosition the character position * @return the record */ public static CSVRecord newRecord(final String[] values, final Map<String, Integer> mapping, final String comment, final long recordNumber, final long characterPosition) { return new CSVRecord(values, mapping, comment, recordNumber, characterPosition); } }
this.recordNumber++; final String comment = sb == null ? null : sb.toString(); result = new CSVRecord(this.recordList.toArray(new String[this.recordList.size()]), this.headerMap, comment, this.recordNumber, startCharPosition);
this.recordNumber++; final String comment = sb == null ? null : sb.toString(); result = new CSVRecord(this.recordList.toArray(new String[this.recordList.size()]), this.headerMap, comment, this.recordNumber, startCharPosition);
this.recordNumber++; final String comment = sb == null ? null : sb.toString(); result = new CSVRecord(this.record.toArray(new String[this.record.size()]), this.headerMap, comment, this.recordNumber, startCharPosition);