Package com.ibm.commons.util.print

Examples of com.ibm.commons.util.print.DumpObject.dump()


  // Object instance
  // ///////////////////////////////////////////////////////////////////

  public static void dumpObject(JsonFactory factory, Object object) throws IOException {
    DumpObject d = new DumpObject(new JsonAdapterFactory(factory));
    d.dump(object);
  }

  public static void dumpObject(TextOutputStream w, JsonFactory factory, Object object) throws IOException {
    DumpObject d = new DumpObject(new JsonAdapterFactory(factory));
    d.setTextOutputStream(w);
View Full Code Here


  }

  public static void dumpObject(TextOutputStream w, JsonFactory factory, Object object) throws IOException {
    DumpObject d = new DumpObject(new JsonAdapterFactory(factory));
    d.setTextOutputStream(w);
    d.dump(object);
  }

  public static class JsonAdapterFactory implements AdapterFactory {
    private JsonFactory factory;
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.