| Modifier and Type | Class and Description |
|---|---|
| private static enum | PublicSuffixes.
Public suffix list rule types. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final PlatformLogger | |
| private static final File | pslFile
The public suffix list file. |
| private static final boolean | |
| private static final Map | rulesCache
The mapping from top-level domain names to public suffix list rules. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | |
| pack-priv static boolean | |
| private static String | toLogString(Map<String, PublicSuffixes.
Converts a map of rules to a string suitable for displaying in the log. |
| logger | back to summary |
|---|---|
| private static final PlatformLogger logger | |
| pslFile | back to summary |
|---|---|
| private static final File pslFile The public suffix list file. | |
| pslFileExists | back to summary |
|---|---|
| private static final boolean pslFileExists | |
| rulesCache | back to summary |
|---|---|
| private static final Map<String, PublicSuffixes. The mapping from top-level domain names to public suffix list rules. | |
| PublicSuffixes | back to summary |
|---|---|
| private PublicSuffixes() The private default constructor. Ensures non-instantiability. | |
| isPublicSuffix | back to summary |
|---|---|
| pack-priv static boolean isPublicSuffix(String domain) Determines if a domain is a public suffix. | |
| pslFileExists | back to summary |
|---|---|
| pack-priv static boolean pslFileExists() Returns whether the public suffix list file is available. | |
| toLogString | back to summary |
|---|---|
| private static String toLogString(Map<String, PublicSuffixes. Converts a map of rules to a string suitable for displaying in the log. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PublicSuffixes. | |
| public static final PublicSuffixes. | |
| public static final PublicSuffixes. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PublicSuffixes. | |
| public static PublicSuffixes. |
| EXCEPTION_RULE | back to summary |
|---|---|
| public static final PublicSuffixes. | |
| SIMPLE_RULE | back to summary |
|---|---|
| public static final PublicSuffixes. | |
| WILDCARD_RULE | back to summary |
|---|---|
| public static final PublicSuffixes. | |
| Rule | back to summary |
|---|---|
| private Rule() | |
| valueOf | back to summary |
|---|---|
| public static PublicSuffixes. | |
| values | back to summary |
|---|---|
| public static PublicSuffixes. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static PublicSuffixes. | |
| private static InputStream | |
| pack-priv static PublicSuffixes. | |
| private static String | |
| pack-priv boolean |
| rules | back to summary |
|---|---|
| private final Map<String, PublicSuffixes. | |
| Rules | back to summary |
|---|---|
| private Rules(InputStream is) throws IOException | |
| createRules | back to summary |
|---|---|
| private static PublicSuffixes. | |
| getPubSuffixStream | back to summary |
|---|---|
| private static InputStream getPubSuffixStream() | |
| getRules | back to summary |
|---|---|
| pack-priv static PublicSuffixes. | |
| getTopLevelDomain | back to summary |
|---|---|
| private static String getTopLevelDomain(String domain) | |
| match | back to summary |
|---|---|
| pack-priv boolean match(String domain) | |