com.eurotech.framework.core.util
Class NetUtil

java.lang.Object
  extended by com.eurotech.framework.core.util.NetUtil

public class NetUtil
extends Object


Constructor Summary
NetUtil()
           
 
Method Summary
static InetAddress getCurrentInetAddress()
           
static String getPrimaryMacAddress()
           
static byte[] hardwareAddressToBytes(String macAddress)
           
static String hardwareAddressToString(byte[] macAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetUtil

public NetUtil()
Method Detail

hardwareAddressToString

public static String hardwareAddressToString(byte[] macAddress)

hardwareAddressToBytes

public static byte[] hardwareAddressToBytes(String macAddress)

getPrimaryMacAddress

public static String getPrimaryMacAddress()

getCurrentInetAddress

public static InetAddress getCurrentInetAddress()


Copyright © 2013. All Rights Reserved.