public abstract class LineReader extends Object
lines() method, returning standardised IPDatabase| Modifier and Type | Field and Description |
|---|---|
static byte[] |
MAGIC_ZIP |
static int |
MAGIG_GZIP |
| Constructor and Description |
|---|
LineReader() |
| Modifier and Type | Method and Description |
|---|---|
protected BufferedReader |
bufferedReaderForPath(Path path,
int bufferSize) |
protected abstract Stream<String> |
lines() |
abstract LineParser |
parser() |
abstract ProviderKey |
provider() |
IPDatabase |
read(boolean retainOriginalLine,
LineReaderListener readerListener,
LineProcessorListener processListener,
DatabaseBuilderListener buildingListener) |
public abstract ProviderKey provider()
public abstract LineParser parser()
protected abstract Stream<String> lines() throws IOException
IOExceptionprotected BufferedReader bufferedReaderForPath(Path path, int bufferSize) throws IOException
IOExceptionpublic final IPDatabase read(boolean retainOriginalLine, LineReaderListener readerListener, LineProcessorListener processListener, DatabaseBuilderListener buildingListener) throws IOException
IOExceptionCopyright © 2021. All rights reserved.