public class NetworkUtils extends Object
Constructor and Description |
---|
NetworkUtils() |
Modifier and Type | Method and Description |
---|---|
static InetAddress |
getInterfaceAddress(String interfaceName)
Get Interface Address using interface name eg.
|
public static InetAddress getInterfaceAddress(String interfaceName) throws SocketException
interfaceName
- Network Interface NameSocketException
- Thrown when failing to get interface addressesCopyright © 2023 Apache NiFi Project. All rights reserved.