Packages that use InvalidDatabaseException
Package
Description
Reads MaxMind GeoLite2 database files, the format used by the router for GeoIP lookups.
Uses of InvalidDatabaseException in com.maxmind.db
Methods in com.maxmind.db that throw InvalidDatabaseExceptionModifier and TypeMethodDescriptionprivate static BooleanDecoder.decodeBoolean(int size) Decodes a boolean value.private DoubleDecoder.decodeDouble(int size) Decodes a double value.private FloatDecoder.decodeFloat(int size) Decodes a float value.private intReader.findAddressInTree(ByteBuffer buffer, InetAddress address) Finds the node or data pointer for an address.private intReader.findIpV4StartNode(ByteBuffer buffer) Finds the start node of the IPv4 subtree.private intReader.findMetadataStart(ByteBuffer buffer, String databaseName) Finds the start of the database metadata in the buffer.private intReader.readNode(ByteBuffer buffer, int nodeNumber, int index) Reads one node from the tree.