com.github.skjolber.stcsv.column.tri.StringCsvColumnValueTriConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databinder Show documentation
Show all versions of databinder Show documentation
High-performance CSV databinding library
package com.github.skjolber.stcsv.column.tri;
public class StringCsvColumnValueTriConsumer implements CsvColumnValueTriConsumer {
protected final TriConsumer setter;
public StringCsvColumnValueTriConsumer(TriConsumer setter) {
this.setter = setter;
}
@Override
public void consume(T object, I intermediate, char[] array, int start, int end) {
setter.accept(object, intermediate, new String(array, start, end - start));
}
}