public interface Network
Methods to retrieve standard information from a network connection.
| Modifier and Type | Method and Description |
|---|---|
static String |
getHostname()
Returns the host name of the current process.
|
static InetAddress |
getIpAddress()
Returns the IP address of the current process.
|
static String |
getIpAddressAsString()
Returns the IP address of the current process.
|
static String getHostname()
Returns the host name of the current process.
static InetAddress getIpAddress()
Returns the IP address of the current process.
static String getIpAddressAsString()
Returns the IP address of the current process.
Copyright © 2016–2017. All rights reserved.