org.simpleflatmapper.lightningcsv.parser.CharBuffer 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;
import java.io.IOException;
public abstract class CharBuffer {
public char[] buffer;
public int bufferSize;
public int cellStartMark;
public int rowStartMark;
public CharBuffer(char[] buffer, final int bufferSize) {
this.buffer = buffer;
this.bufferSize = bufferSize;
}
public abstract boolean isConstant();
public abstract boolean shiftAndRead(int shiftFrom) throws IOException;
}