Package nl.sidnlabs.dnslib.util
Class DomainName
- java.lang.Object
-
- nl.sidnlabs.dnslib.util.DomainName
-
public class DomainName extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegisteredDomainregisteredDomain(String domain)Returns the registered domain of the specified domain.
-
-
-
Method Detail
-
registeredDomain
public static RegisteredDomain registeredDomain(String domain)
Returns the registered domain of the specified domain.- Parameters:
domain- the domain name- Returns:
- the registered domain, or null if not known or not registerable
- Throws:
NullPointerException- if domain is null
-
-