public abstract class RecordReader<T> extends Object implements AutoCloseable
| Modifier | Constructor and Description |
|---|---|
protected |
RecordReader(LineNumberReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected static <T extends RecordReader<?>> |
read(File file,
Encoding encoding,
RecordReaderFactory<T> factory) |
protected static <T extends RecordReader<?>> |
read(InputStream in,
Encoding encoding,
RecordReaderFactory<T> factory) |
protected abstract T |
readLine(Line line) |
Stream<Result<T>> |
resultStream() |
protected abstract Separator |
separator() |
protected abstract int |
skip() |
protected RecordReader(LineNumberReader reader)
protected static <T extends RecordReader<?>> T read(File file, Encoding encoding, RecordReaderFactory<T> factory) throws FileNotFoundException
FileNotFoundExceptionprotected static <T extends RecordReader<?>> T read(InputStream in, Encoding encoding, RecordReaderFactory<T> factory)
public void close()
throws Exception
close in interface AutoCloseableExceptionprotected abstract Separator separator()
protected abstract int skip()
Copyright © 2015 Objectos Software LTDA. All rights reserved.