public class MaxmindNativeSource extends Object implements SourceReader
| Constructor and Description |
|---|
MaxmindNativeSource(Path location) |
MaxmindNativeSource(Path location,
Optional<Path> anonymous) |
MaxmindNativeSource(Path location,
Path anonymous) |
| Modifier and Type | Method and Description |
|---|---|
ProviderKey |
provider() |
IPDatabase |
read(boolean retainOriginalLine,
LineReaderListener readerListener,
LineProcessorListener processListener,
DatabaseBuilderListener buildingListener,
int workersCount) |
public MaxmindNativeSource(Path location, Path anonymous) throws IOException
IOExceptionpublic MaxmindNativeSource(Path location) throws IOException
IOExceptionpublic MaxmindNativeSource(Path location, Optional<Path> anonymous) throws IOException
IOExceptionpublic IPDatabase read(boolean retainOriginalLine, LineReaderListener readerListener, LineProcessorListener processListener, DatabaseBuilderListener buildingListener, int workersCount)
read in interface SourceReaderpublic ProviderKey provider()
provider in interface SourceReaderCopyright © 2021. All rights reserved.