ReportEvent extends EventImpl { public void toText(Writer o) throws IOException { o.write(StringEscapeUtils.escapeJava(this.toString())); } ReportEvent(ReportEvent e);  ReportEvent(String src);  ReportEvent(Map<String, Long> longMetrics,
      Map<String, String> stringMetrics, Map<String, Double> doubleMetrics); void setLongMetric(String name, long value); void setDoubleMetric(String name, double value); void setStringMetric(String name, String value); Long getLongMetric(String name); Double getDoubleMetric(String name); String getStringMetric(String name); Map<String, Double> getAllDoubleMetrics(); Map<String, String> getAllStringMetrics(); Map<String, Long> getAllLongMetrics(); long getNumMetrics(); void toJson(Writer o); void toHtml(Writer o); String toString(); void toText(Writer o); static ReportEvent createLegacyHtmlReport(String name, String data); void merge(ReportEvent e); void hierarchicalMerge(String prefix, ReportEvent e); String toText(); @Deprecated String toJson(); String toHtml(); final static String R_NAME; final static String A_COUNT; }
@Test public void testReportText() throws IOException { Writer w = new OutputStreamWriter(System.out); e.toText(w); w.flush(); }