| Constructor and Description |
|---|
JavaResolver() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull InetAddress |
getAddress(@NonNull String host)
Gets the InetAddress for the given host, resolving as necessary.
|
public @NonNull InetAddress getAddress(@NonNull String host) throws UnknownHostException
ResolvergetAddress in interface Resolverhost - host (IP or hostname)UnknownHostException - if it can't be foundCopyright © 2013–2021 Kitteh. All rights reserved.