|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neverfear.whois.ResolveCRSNIC
org.neverfear.whois.ResolveAfilias
public class ResolveAfilias
Resolve an Afilias domain name. See http://www.afilias.info/
for more information.
Field Summary | |
---|---|
private static ResolveAfilias |
instance
|
private int |
port
|
private java.lang.String |
server
|
static java.lang.String |
WHOIS_HOST
The whois server host name. |
static int |
WHOIS_PORT
The whois server host port. |
Fields inherited from class org.neverfear.whois.ResolveCRSNIC |
---|
DOMAIN_STR, WHOIS_STR |
Constructor Summary | |
---|---|
private |
ResolveAfilias()
Create an Afilias resolver. |
Method Summary | |
---|---|
static ResolveAfilias |
getInstance()
Get an instance of a afilias resolver. |
int |
getPort()
Get the whois server host port. |
java.lang.String |
getServer()
Get the whois server host name. |
WhoisResponse |
query(java.lang.String name)
Query the server for the given name. |
Methods inherited from class org.neverfear.whois.ResolveCRSNIC |
---|
exactSearch, expandedSearch, partialSearch, search, search, summarySearch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WHOIS_HOST
public static final int WHOIS_PORT
private java.lang.String server
private int port
private static ResolveAfilias instance
Constructor Detail |
---|
private ResolveAfilias()
Method Detail |
---|
public static ResolveAfilias getInstance()
public java.lang.String getServer()
getServer
in class ResolveCRSNIC
public int getPort()
getPort
in class ResolveCRSNIC
public WhoisResponse query(java.lang.String name) throws java.io.IOException, java.net.UnknownHostException
ServerResolver
query
in interface ServerResolver
query
in class ResolveCRSNIC
name
- A domain name.
WhoisResponse
object.
java.io.IOException
java.net.UnknownHostException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |