Package de.mtg.jzlint.utils
Class DomainStringUtils
java.lang.Object
de.mtg.jzlint.utils.DomainStringUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandomainMatches(String domain, String rule) https://github.com/publicsuffix/list/wiki/Format#formatstatic booleanisLDHLabel(String label)
-
Method Details
-
domainMatches
https://github.com/publicsuffix/list/wiki/Format#formatA domain is said to match a rule if and only if all of the following conditions are met: When the domain and rule are split into corresponding labels, that the domain contains as many or more labels than the rule. Beginning with the right-most labels of both the domain and the rule, and continuing for all labels in the rule, one finds that for every pair, either they are identical, or that the label from the rule is "*".
-
getLabels
-
isLDHLabel
-