public interface HostsFileEntriesResolver
限定符和类型 | 字段和说明 |
---|---|
static HostsFileEntriesResolver |
DEFAULT
Default instance: a
DefaultHostsFileEntriesResolver . |
限定符和类型 | 方法和说明 |
---|---|
java.net.InetAddress |
address(java.lang.String inetHost,
ResolvedAddressTypes resolvedAddressTypes)
Resolve the address of a hostname against the entries in a hosts file, depending on some address types.
|
static final HostsFileEntriesResolver DEFAULT
DefaultHostsFileEntriesResolver
.java.net.InetAddress address(java.lang.String inetHost, ResolvedAddressTypes resolvedAddressTypes)
inetHost
- the hostname to resolveresolvedAddressTypes
- the address types to resolve