Class DbIpIpToCountryLiteCSVLineParser
- java.lang.Object
-
- technology.dice.dicewhere.parsing.LineParser
-
- technology.dice.dicewhere.provider.dbip.parsing.DbIpIpToCountryLiteCSVLineParser
-
public class DbIpIpToCountryLiteCSVLineParser extends LineParser
Parser for DB-Ip's Country Lite db in CSV file format
-
-
Constructor Summary
Constructors Constructor Description DbIpIpToCountryLiteCSVLineParser()DbIpIpToCountryLiteCSVLineParser(Decorator<? extends DecoratorInformation> decorator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Decorator<? extends DecoratorInformation>>getDecorator()protected IpInformationparseLine(RawLine line, boolean retainOriginalLine)-
Methods inherited from class technology.dice.dicewhere.parsing.LineParser
parse
-
-
-
-
Constructor Detail
-
DbIpIpToCountryLiteCSVLineParser
public DbIpIpToCountryLiteCSVLineParser()
-
DbIpIpToCountryLiteCSVLineParser
public DbIpIpToCountryLiteCSVLineParser(Decorator<? extends DecoratorInformation> decorator)
-
-
Method Detail
-
getDecorator
public Optional<Decorator<? extends DecoratorInformation>> getDecorator()
- Specified by:
getDecoratorin classLineParser
-
parseLine
protected IpInformation parseLine(RawLine line, boolean retainOriginalLine) throws LineParsingException
- Specified by:
parseLinein classLineParser- Throws:
LineParsingException
-
-