net.sf.logdistiller.publishers
Class FilePublisher

java.lang.Object
  extended by net.sf.logdistiller.Publisher
      extended by net.sf.logdistiller.publishers.FilePublisher

public class FilePublisher
extends Publisher

Save report of a LogDistillation in a file.

Parameters:


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.logdistiller.Publisher
Publisher.PublishException
 
Constructor Summary
FilePublisher()
           
 
Method Summary
 String getId()
          Get the publisher-id for this class.
 void publish(LogDistillation.Group group, LogDistiller.Report report)
          Publish a group report.
 void publish(LogDistillation logdistillation, LogDistiller.Report report)
          Publish a global report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePublisher

public FilePublisher()
Method Detail

getId

public String getId()
Description copied from class: Publisher
Get the publisher-id for this class.

Specified by:
getId in class Publisher
Returns:
a unique publisher id

publish

public void publish(LogDistillation logdistillation,
                    LogDistiller.Report report)
             throws IOException
Description copied from class: Publisher
Publish a global report.

Specified by:
publish in class Publisher
Parameters:
logdistillation - the logdistillation containing the results to publish
report - the report configuration
Throws:
IOException

publish

public void publish(LogDistillation.Group group,
                    LogDistiller.Report report)
             throws IOException
Description copied from class: Publisher
Publish a group report.

Specified by:
publish in class Publisher
Parameters:
group - the logdstillation group containing the results to publish
report - the report configuration
Throws:
IOException


Copyright © 2004-2009. All Rights Reserved.