public interface Dns
InetAddress.getAllByName(java.lang.String)
to
make code more testable.Modifier and Type | Method and Description |
---|---|
InetAddress[] |
getAllByName(String host) |
static final Dns DEFAULT
InetAddress[] getAllByName(String host) throws UnknownHostException
UnknownHostException
Copyright © 2014. All rights reserved.