net.sf.logdistiller.publishers
Class FilePublisher
java.lang.Object
net.sf.logdistiller.Publisher
net.sf.logdistiller.publishers.FilePublisher
public class FilePublisher
- extends Publisher
Save report of a LogDistillation in a file.
Parameters:
filename
(default: report.[ext]
for global report, or
[group id].[ext]
for group report): the file name (relative to output directory)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilePublisher
public FilePublisher()
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 publishreport
- 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 publishreport
- the report configuration
- Throws:
IOException
Copyright © 2004-2009. All Rights Reserved.