com.googlecode.jslint4java.maven
Class MultiReportWriter

java.lang.Object
  extended by com.googlecode.jslint4java.maven.MultiReportWriter
All Implemented Interfaces:
ReportWriter

public class MultiReportWriter
extends Object
implements ReportWriter

Allow writing the same result to multiple places at once.

TODO: figure out exception handling


Constructor Summary
MultiReportWriter(ReportWriter... reportWriters)
          Send a report to all passed in ReportWriters.
 
Method Summary
 void close()
          Close all contained ReportWriters.
 void open()
          Open all contained ReportWriters.
 void report(JSLintResult result)
          Report on this result for each reportWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiReportWriter

public MultiReportWriter(ReportWriter... reportWriters)
Send a report to all passed in ReportWriters.

Method Detail

close

public void close()
Close all contained ReportWriters.

Specified by:
close in interface ReportWriter

open

public void open()
Open all contained ReportWriters.

Specified by:
open in interface ReportWriter

report

public void report(JSLintResult result)
Report on this result for each reportWriter.

Specified by:
report in interface ReportWriter


Copyright © 2007-2012. All Rights Reserved.