@Immutable public final class IanaDomainListFactory extends Object implements DomainListFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_LIST_CHARSET
The property key for the character encoding of IANA's TLD list.
|
static String |
PROPERTY_LIST_TLD_XPATH
The property key for the xpath expression to find
all TLDs from IANA's list.
|
static String |
PROPERTY_LIST_URI
The property key for the URI to IANA's TLD list.
|
static String |
PROPERTY_WHOIS_CHARSET
The property key for IANA's whois server.
|
static String |
PROPERTY_WHOIS_HOST
The property key for IANA's whois server.
|
static String |
PROPERTY_WHOIS_TIMEOUT_SECONDS
The property key for IANA's whois server timeout.
|
| Constructor and Description |
|---|
IanaDomainListFactory(Properties properties)
Initialize with a configuration.
|
@PropertyKey public static final String PROPERTY_LIST_URI
@PropertyKey public static final String PROPERTY_LIST_CHARSET
@PropertyKey public static final String PROPERTY_LIST_TLD_XPATH
@PropertyKey public static final String PROPERTY_WHOIS_HOST
@PropertyKey public static final String PROPERTY_WHOIS_CHARSET
@PropertyKey public static final String PROPERTY_WHOIS_TIMEOUT_SECONDS
public IanaDomainListFactory(Properties properties)
properties - the configurationpublic de.malkusch.whoisServerList.api.v1.model.DomainList buildList()
throws BuildListException,
InterruptedException
DomainListFactorybuildList in interface DomainListFactoryBuildListException - If building failedInterruptedException - If the thread was interruptedpublic de.malkusch.whoisServerList.api.v1.model.Source getSource()
DomainListFactorygetSource in interface DomainListFactoryCopyright © 2014. All Rights Reserved.