org.opennms.core.utils
Class InetAddressUtils
java.lang.Object
org.opennms.core.utils.InetAddressUtils
public abstract class InetAddressUtils
- extends Object
- Author:
- Mathew Brozowski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InetAddressUtils
public InetAddressUtils()
getInetAddress
public static InetAddress getInetAddress(byte[] ipAddrOctets)
getInetAddress
public static InetAddress getInetAddress(String dottedNotation)
getInetAddress
public static InetAddress getInetAddress(long ipAddrAs32bitNumber)
toIpAddrBytes
public static byte[] toIpAddrBytes(long address)
toIpAddrBytes
public static byte[] toIpAddrBytes(String dottedNotation)
toIpAddrBytes
public static byte[] toIpAddrBytes(InetAddress addr)
toIpAddrLong
public static long toIpAddrLong(byte[] address)
toIpAddrLong
public static long toIpAddrLong(String dottedNotation)
toIpAddrLong
public static long toIpAddrLong(InetAddress addr)
toIpAddrString
public static String toIpAddrString(long ipAddr)
toIpAddrString
public static String toIpAddrString(byte[] addr)
Copyright © 2009. All Rights Reserved.