Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class fi.hut.tcm.jacob.tcpip.EthernetAddress

java.lang.Object
  |
  +--fi.hut.tcm.jacob.tcpip.EthernetAddress

public class EthernetAddress
extends java.lang.Object
EthernetAddress A utility class for storing and converting ethernet addresses. XXX Exceptions missing - eg. when an illegal string is given to the constructor..


Constructor Summary
EthernetAddress(long addr)
           
EthernetAddress(java.lang.String strAddr)
           
 
Method Summary
static byte[] toArray(long addr)
           
byte[] toArray()
           
long toLong()
           
static java.lang.String toString(long addr)
           
java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

EthernetAddress

public EthernetAddress(long addr)

EthernetAddress

public EthernetAddress(java.lang.String strAddr)
Method Detail

toArray

public static byte[] toArray(long addr)

toArray

public byte[] toArray()

toString

public static java.lang.String toString(long addr)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toLong

public long toLong()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD