public final class NetworkInterface extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NetworkInterface.Builder |
Modifier and Type | Method and Description |
---|---|
static NetworkInterface.Builder |
builder() |
static List<NetworkInterface> |
copyOf(Iterable<NetworkInterface> mutables) |
static NetworkInterface |
copyOf(NetworkInterface mutable) |
List<InetAddress> |
getAddresses() |
String |
getDisplayName() |
com.google.common.base.Optional<String> |
getHardwareAddress() |
static com.google.common.base.Optional<String> |
getHardwareAddress(byte[] address) |
com.google.common.base.Optional<Integer> |
getIndex() |
List<InterfaceAddress> |
getInterfaceAddresses() |
int |
getMtu() |
String |
getName() |
com.google.common.base.Optional<NetworkInterface> |
getParent() |
List<NetworkInterface> |
getSubInterfaces() |
boolean |
isLoopback() |
boolean |
isPointToPoint() |
boolean |
isSupportsMulticast() |
boolean |
isUp() |
boolean |
isVirtual() |
public static List<NetworkInterface> copyOf(Iterable<NetworkInterface> mutables) throws IOException
IOException
public static NetworkInterface copyOf(NetworkInterface mutable) throws IOException
IOException
public static com.google.common.base.Optional<String> getHardwareAddress(byte[] address)
public static NetworkInterface.Builder builder()
public String getDisplayName()
public List<InetAddress> getAddresses()
public int getMtu()
public boolean isLoopback()
public boolean isPointToPoint()
public boolean isUp()
public boolean isVirtual()
public boolean isSupportsMulticast()
public com.google.common.base.Optional<String> getHardwareAddress()
public com.google.common.base.Optional<NetworkInterface> getParent()
public List<NetworkInterface> getSubInterfaces()
public List<InterfaceAddress> getInterfaceAddresses()
Copyright © 2015 The Kuali Foundation. All rights reserved.