Examples of dumpTree()


Examples of se.llbit.nbt.AnyTag.dumpTree()

    try {
      System.out.println("parsing test.chunk");
      DataInputStream in = new DataInputStream(new GZIPInputStream(new FileInputStream(fn)));
      AnyTag tag = NamedTag.read(in);
      PrintStream out = new PrintStream(new File("output.test"));
      out.print(tag.dumpTree());
      out.close();
      System.out.println("done");
    } catch (FileNotFoundException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
View Full Code Here

Examples of se.llbit.nbt.AnyTag.dumpTree()

    //System.out.println("parsing "+fn);
    //System.out.println("writing output to "+outFn);
    //PrintStream out = new PrintStream(new File(outFn));
    AnyTag tag = read(fn);
    PrintStream out = System.out;
    out.print(tag.dumpTree());
    out.close();
    System.out.println("done");
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.