
com.github.nicosensei.textbatch.job.InputFileReader Maven / Gradle / Ivy
/**
*
*/
package com.github.nicosensei.textbatch.job;
/**
* @author ngiraud
*
*/
public interface InputFileReader {
/**
* Closes the reader.
* @throws InputFileException
*/
void close() throws InputFileException;
/**
* Atomically obtain a section of the combined path file
* @return
* @throws InputFileException
*/
InputFileSection readSection() throws InputFileException;
/**
* Atomically obtain a line of the combined path file
* @return
* @throws InputFileException
*/
L readLine() throws InputFileException;
/**
* @returns the encoding to use to read files.
*/
String getEncoding();
/**
* @return the size of an input section
*/
int getSectionSize();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy