Library for handling IP addresses and subnets, both IPv4 and IPv6
In the Maven Central Repository
Developed as an Eclipse project, the project files are checked in so it can be easily be imported into an Eclipse workspace.
| Version | Notes |
|---|---|
| v1.0.0 | Java 7 compatible |
| v2.0.2 | Requires Java 8 or higher |
| v3.0.0 | Requires Java 8 or higher, features MAC address support, EUI-48 and EUI-64 MAC integration with IPv6, new address framework, new IP string formats parsed and produced, and other additions |
| v4.3.0 | Requires Java 8 or higher. Features new prefix length handling. IPv4-network/IPv6-subnet-router-anycast/zero-host addresses are interpreted as the prefix block subnet, while other prefixed addresses are individual addresses. There exists the option to preserve the version 3 behaviour. Version 4.2.0 has additional methods for managing prefix blocks. Version 4.3 features improved parsing performance and a change to increment(long) behaviour for subnets. |
| Latest Version v5.0.0 | Requires Java 8 or higher. Support for Java 9, 10, 11 JPMS modules - the code is compiled with Java 8 but provides a Java 9 compiled module-info.class file. Compatible with Android using Android API level 24 or higher. Version 5 features the addition of IPAddress sequential range classes IP*AddressSeqRange, the reorganization of classes and interfaces in inet.ipaddr.format package to standard, large, and string subpackages, enhanced address block splitting and merging functionality, and the improved parsing performance introduced with version 4.3.0. Other enhancements listed on the releases page |
Planned future additions: ports to TypeScript / JavaScript and Go.