Self-updating Java API to get top-level domains.
- Background self-updating from official iana.org source.
- Stores updates in Java Preferences API to reduce queries of data.iana.org.
Top level domains have become a moving target. Any API that includes a hard-coded list, array, enumeration, or even an external flatfile of top level domains will require some routine maintenance to update the list. We support many well-established and largely set-it-and-forget-it apps that routinely go long time periods without updates. We prefer to write low maintenance code and existing solutions do not fulfill this requirement.
- Apache Commons Validator - Includes a hard-coded list of TLDs. Use of this API requires occasional updates of JARs and redeploys.
- Google Guava InternetDomainName - Also includes a hard-coded list of TLDs in com.google.common.net.TldPatterns. Same issue with maintenance applies.
For questions or support, please contact us:
Email: [email protected]
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact