Class Whois
java.lang.Object
de.muehlencord.shared.network.whois.Whois
- Author:
- Joern Muehlencord (joern@muehlencord.de)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreads and parses the information for the given ip address from the given whoisserverreturns the output received from the whois serverstatic WhoisInformation
-
Constructor Details
-
Whois
public Whois()creates a new instance of the whoisClient client
-
-
Method Details
-
getWhoisServers
-
execute
- Throws:
WhoisException
-
execute
reads and parses the information for the given ip address from the given whoisserver- Parameters:
whoIsServer- the whoisClient server to useip- the ip to query whoisClient data for- Returns:
- whoisInformation parsed from whoisClient string
- Throws:
WhoisException- if the parsing fails
-
parse
- Throws:
WhoisException
-
getWhoisString
returns the output received from the whois server- Returns:
- the output received from the whois server
-