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