public class InetUtils extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
InetUtils.HostInfo |
Constructor and Description |
---|
InetUtils(InetUtilsProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static InetUtils.HostInfo |
convert(InetAddress address)
Deprecated.
use the non-static convertAddress() instead
|
InetUtils.HostInfo |
convertAddress(InetAddress address) |
InetAddress |
findFirstNonLoopbackAddress() |
InetUtils.HostInfo |
findFirstNonLoopbackHostInfo() |
static InetUtils.HostInfo |
getFirstNonLoopbackHostInfo()
Deprecated.
use the non-static findFirstNonLoopbackHostInfo() instead
|
static int |
getIpAddressAsInt(String host) |
public InetUtils(InetUtilsProperties properties)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public InetUtils.HostInfo findFirstNonLoopbackHostInfo()
public InetAddress findFirstNonLoopbackAddress()
public InetUtils.HostInfo convertAddress(InetAddress address)
@Deprecated public static InetUtils.HostInfo getFirstNonLoopbackHostInfo()
@Deprecated public static InetUtils.HostInfo convert(InetAddress address)
public static int getIpAddressAsInt(String host)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.