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
 
Method Summary
static void main(String[] args)
           
 byte[] toBytes()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

toBytes

public byte[] toBytes()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)
                 throws IOException