net.sf.logdistiller
Class ReportFormat

java.lang.Object
  extended by net.sf.logdistiller.ReportFormat
Direct Known Subclasses:
TextReport, XmlReport

public abstract class ReportFormat
extends Object

Report formats' base class.


Nested Class Summary
static class ReportFormat.PluginReport
           
 
Constructor Summary
protected ReportFormat(String id)
           
 
Method Summary
protected  int addPluginsGlobalReport(LogDistillation.Group group, ReportFormat.PluginReport report)
           
protected  int addPluginsGroupReport(LogDistillation.Group group, ReportFormat.PluginReport report)
           
abstract  String getContentType()
           
abstract  String getFileExtension()
           
 String getId()
           
abstract  void report(LogDistillation.Group group, Writer output)
           
abstract  void report(LogDistillation ld, Writer output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportFormat

protected ReportFormat(String id)
Method Detail

getId

public String getId()

getContentType

public abstract String getContentType()

getFileExtension

public abstract String getFileExtension()

report

public abstract void report(LogDistillation ld,
                            Writer output)
                     throws IOException
Throws:
IOException

report

public abstract void report(LogDistillation.Group group,
                            Writer output)
                     throws IOException
Throws:
IOException

addPluginsGroupReport

protected int addPluginsGroupReport(LogDistillation.Group group,
                                    ReportFormat.PluginReport report)

addPluginsGlobalReport

protected int addPluginsGlobalReport(LogDistillation.Group group,
                                     ReportFormat.PluginReport report)


Copyright © 2004-2009. All Rights Reserved.