Package org.wicketstuff.pageserializer.common.analyze.reportbuilder

Examples of org.wicketstuff.pageserializer.common.analyze.reportbuilder.Report.export()


      @Override
      public String render(ISerializedObjectTree tree) {

        Report report = new Report("TreeSizeReport\n");
        process(tree, report, 0, tree.size() + tree.childSize());
        String result = report
            .export(emptyFirst, id, percent, sum, local,
                child, label).separateColumnNamesWith('-')
            .tableBorderWith('=').asString();

        return result;
View Full Code Here


        Report report = new Report("TypeSizeReport\n");
        for (Map.Entry<Class<?>, Counter> e : sorted) {
          report.newRow().set(label, 0, e.getKey().getName())
              .set(size, 0, "" + e.getValue().size);
        }
        String result = report.export(emptyFirst, size, label)
            .separateColumnNamesWith('-').tableBorderWith('=')
            .asString();

        return result;
      }
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.