|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.openfortress.socket6bed4.Inet6bed4Address
public final class Inet6bed4Address
The Inet6bed4Address class acts a bit like InetAddress and Inet6Address. It is not, however related to these classes; they are locked down by the Java language [1]. There are a few calls similar to those in Inet*Address that are also available here; however, an address created here will be an Inet6Address. [1] Inet6Address is a final class, and InetAddress has no constructors to call. Nasty.
Method Summary | |
---|---|
static Inet6Address |
getByAddress(byte[] addr)
Return an Inet6bed4Address based on a byte string. |
static Inet6Address |
getLocalHost()
Returns the shared 6bed4 address for this host. |
static boolean |
is6bed4Address(byte[] addr)
Test if the given byte array represents a 6bed4 address. |
static boolean |
is6bed4Address(Inet6Address ia)
Test if a given InetAddress is a 6bed4 address. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Inet6Address getLocalHost() throws UnknownHostException
UnknownHostException
public static boolean is6bed4Address(Inet6Address ia)
public static boolean is6bed4Address(byte[] addr)
public static Inet6Address getByAddress(byte[] addr)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |