org.xbill.DNS
Class Inet6Address
java.lang.Object
|
+--org.xbill.DNS.Inet6Address
- public class Inet6Address
- extends Object
Inet6Address - implementation of IPv6 address
|
Constructor Summary |
Inet6Address(byte[] data)
Creates an Inet6Address from 128 bits of data |
Inet6Address(int bits,
byte[] data)
Creates an Inet6Address from fewer than 128 bits of data |
Inet6Address(String s)
Creates an Inet6Address from text format |
Inet6Address
public Inet6Address(byte[] data)
throws IOException
- Creates an Inet6Address from 128 bits of data
Inet6Address
public Inet6Address(int bits,
byte[] data)
throws IOException
- Creates an Inet6Address from fewer than 128 bits of data
Inet6Address
public Inet6Address(String s)
throws IOException
- Creates an Inet6Address from text format
toBytes
public byte[] toBytes()
toString
public String toString()
- Overrides:
- toString in class Object
main
public static void main(String[] args)
throws IOException