1.2.0
Additions
- Added a hash map-based
ruleMaptoSuffixRulesto speed up the performance when matching rules. - Added
subdomainandicannSubdomaintoPublicSuffix. - Added
isSubdomainOf,hasKnownSuffixandhasValidDomaintoPublicSuffix. - Added
DomainUtilswith the following static functions:isSubdomainOfisSubdomainisKnownSuffixhasValidDomain
- Added
PublicSuffix.fromStringas a convenience method forPublicSuffix(Uri.parse(string)).
Changes
- Updated docs and parameter names to say URL instead of URI, which is more correct (
PublicSuffix.sourceUriis unchanged to avoid breaking changes).