| Package | Description |
|---|---|
| de.malkusch.whoisServerList.publicSuffixList |
API for the Public Suffix List.
|
| de.malkusch.whoisServerList.publicSuffixList.index |
Rule index implementations.
|
| de.malkusch.whoisServerList.publicSuffixList.index.array |
Array based index with O(n) complexity.
|
| de.malkusch.whoisServerList.publicSuffixList.index.tree |
Tree based index with O(log(n)) complexity.
|
| de.malkusch.whoisServerList.publicSuffixList.parser |
Public Suffix List parser package.
|
| de.malkusch.whoisServerList.publicSuffixList.rule |
Rule package.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
PublicSuffixList.getRules()
Returns a list with all rules.
|
| Modifier and Type | Method and Description |
|---|---|
Rule |
Index.findRule(String domain)
Finds the prevailing rule.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<Rule> |
Index.findRules(String domain)
Finds a list of matching rules.
|
abstract List<Rule> |
Index.getRules()
Returns all rules of this index.
|
| Modifier and Type | Method and Description |
|---|---|
Index |
IndexFactory.build(List<Rule> rules)
Builds an index from a rule list.
|
| Modifier and Type | Method and Description |
|---|---|
Index |
ArrayIndexFactory.build(List<Rule> rules) |
| Modifier and Type | Method and Description |
|---|---|
Index |
TreeIndexFactory.build(List<Rule> rules) |
| Modifier and Type | Method and Description |
|---|---|
Rule |
Parser.parseLine(String line)
Parses a line for a rule.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
Parser.parse(InputStream stream,
Charset charset)
Parses all rules from a stream.
|
| Modifier and Type | Field and Description |
|---|---|
static Rule |
Rule.DEFAULT
The default rule ("*").
|
| Modifier and Type | Method and Description |
|---|---|
Rule |
RuleFactory.build(String pattern)
Builds a
Rule. |
| Modifier and Type | Method and Description |
|---|---|
int |
RuleComparator.compare(Rule rule1,
Rule rule2) |
Copyright © 2016. All rights reserved.