Class MaxmindNativeSource
- java.lang.Object
-
- technology.dice.dicewhere.reading.maxmind.MaxmindNativeSource
-
- All Implemented Interfaces:
SourceReader
public class MaxmindNativeSource extends Object implements SourceReader
-
-
Constructor Summary
Constructors Constructor Description MaxmindNativeSource(Path location)MaxmindNativeSource(Path location, Path anonymous)MaxmindNativeSource(Path location, Optional<Path> anonymous)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProviderKeyprovider()IPDatabaseread(boolean retainOriginalLine, LineReaderListener readerListener, LineProcessorListener processListener, DatabaseBuilderListener buildingListener, int workersCount)
-
-
-
Constructor Detail
-
MaxmindNativeSource
public MaxmindNativeSource(Path location, Path anonymous) throws IOException
- Throws:
IOException
-
MaxmindNativeSource
public MaxmindNativeSource(Path location) throws IOException
- Throws:
IOException
-
MaxmindNativeSource
public MaxmindNativeSource(Path location, Optional<Path> anonymous) throws IOException
- Throws:
IOException
-
-
Method Detail
-
read
public IPDatabase read(boolean retainOriginalLine, LineReaderListener readerListener, LineProcessorListener processListener, DatabaseBuilderListener buildingListener, int workersCount)
- Specified by:
readin interfaceSourceReader
-
provider
public ProviderKey provider()
- Specified by:
providerin interfaceSourceReader
-
-