@ThreadSafe public abstract class Index extends Object
PublicSuffixListFactory
builds the PublicSuffixList
with
the index defined with
the property PublicSuffixListFactory.PROPERTY_INDEX
.
Index implementations must be thread-safe.Constructor and Description |
---|
Index() |
Modifier and Type | Method and Description |
---|---|
Rule |
findRule(String domain)
Finds the prevailing rule.
|
protected abstract Collection<Rule> |
findRules(String domain)
Finds a list of matching rules.
|
abstract List<Rule> |
getRules()
Returns all rules of this index.
|
protected abstract Collection<Rule> findRules(String domain)
domain
- the domain name, may be nullpublic abstract List<Rule> getRules()
Copyright © 2016. All rights reserved.