@Contract(threading=IMMUTABLE) public final class PublicSuffixList extends Object
An up-to-date list of suffixes can be obtained from publicsuffix.org
Modifier and Type | Field and Description |
---|---|
private List<String> |
exceptions |
private List<String> |
rules |
private DomainType |
type |
Constructor and Description |
---|
PublicSuffixList(DomainType type,
List<String> rules,
List<String> exceptions) |
PublicSuffixList(List<String> rules,
List<String> exceptions) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getExceptions() |
List<String> |
getRules() |
DomainType |
getType() |
private final DomainType type
private final List<String> exceptions
public PublicSuffixList(DomainType type, List<String> rules, List<String> exceptions)
public PublicSuffixList(List<String> rules, List<String> exceptions)
public DomainType getType()
public List<String> getExceptions()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses