public class MaxmindDbReader extends CSVLineReader
MAGIC_ZIP, MAGIG_GZIP| Constructor and Description |
|---|
MaxmindDbReader(Path locationNames,
Path ipV4CSV,
Path ipV6CSV) |
MaxmindDbReader(Path locationNames,
Path ipV4CSV,
Path ipV6CSV,
Decorator<? extends DecoratorInformation> decorator) |
MaxmindDbReader(Path locationNames,
Path ipV4CSV,
Path ipV6CSV,
Decorator<? extends DecoratorInformation> decorator,
MapDbDatabaseBuilder.StorageMode storageMode) |
| Modifier and Type | Method and Description |
|---|---|
protected Stream<String> |
lines() |
LineParser |
parser() |
ProviderKey |
provider() |
bufferedReaderForPath, readpublic MaxmindDbReader(@NotNull
Path locationNames,
@NotNull
Path ipV4CSV,
@NotNull
Path ipV6CSV)
throws IOException
IOExceptionpublic MaxmindDbReader(@NotNull
Path locationNames,
@NotNull
Path ipV4CSV,
@NotNull
Path ipV6CSV,
@Nullable
Decorator<? extends DecoratorInformation> decorator)
throws IOException
IOExceptionpublic MaxmindDbReader(@NotNull
Path locationNames,
@NotNull
Path ipV4CSV,
@NotNull
Path ipV6CSV,
@Nullable
Decorator<? extends DecoratorInformation> decorator,
@NotNull
MapDbDatabaseBuilder.StorageMode storageMode)
throws IOException
IOExceptionpublic LineParser parser()
parser in class CSVLineReaderprotected Stream<String> lines() throws IOException
lines in class CSVLineReaderIOExceptionpublic ProviderKey provider()
provider in interface SourceReaderprovider in class CSVLineReaderCopyright © 2021. All rights reserved.