Package voyeur.types
Class HardwareAddress
- java.lang.Object
-
- voyeur.types.HardwareAddress
-
public class HardwareAddress extends Object
Hardware Address.- Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description HardwareAddress(byte[] bytes)bytearray constructor.HardwareAddress(String string)Stringconstructor.HardwareAddress(NetworkInterface netif)NetworkInterfaceconstructor.
-
-
-
Constructor Detail
-
HardwareAddress
public HardwareAddress(NetworkInterface netif) throws SocketException
NetworkInterfaceconstructor.- Parameters:
netif- TheNetworkInterface.- Throws:
SocketException- If the hardware address canoot be read.
-
HardwareAddress
public HardwareAddress(String string)
Stringconstructor.- Parameters:
string- TheStringrepresentation.
-
HardwareAddress
public HardwareAddress(byte[] bytes)
bytearray constructor.- Parameters:
bytes- Thebytearray representing the hardware address.
-
-