org.simpleflatmapper.lightningcsv.parser.IgnoreCellConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightning-csv Show documentation
Show all versions of lightning-csv Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.lightningcsv.parser;
public class IgnoreCellConsumer implements CellConsumer {
public static final IgnoreCellConsumer INSTANCE = new IgnoreCellConsumer();
private IgnoreCellConsumer() {
}
@Override
public void newCell(char[] chars, int offset, int length) {
// ignore
}
@Override
public boolean endOfRow() {
return false;
}
@Override
public void end() {
// ignore
}
}