Package org.xbill.DNS

Examples of org.xbill.DNS.Compression


  Options.set("verbosecompression");
    }

    public void test() throws TextParseException
    {
  Compression c = new Compression();
  Name n = Name.fromString("www.amazon.com.");

  c.add(10, n);
  assertEquals(10, c.get(n));

  Name n2 = Name.fromString("www.cnn.com.");

  c.add(10, n2);
  assertEquals(10, c.get(n2));
    }
View Full Code Here

TOP

Related Classes of org.xbill.DNS.Compression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.