org.xbill.DNS
Class Inet6Address

java.lang.Object
  extended byorg.xbill.DNS.Inet6Address

public class Inet6Address
extends Object

Inet6Address - implementation of IPv6 address

Author:
Brian Wellington

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
 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 TextParseException
Creates an Inet6Address from text format

Method Detail

toBytes

public byte[] toBytes()

toString

public String toString()