|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rat.Report
public class Report
Method Summary | |
---|---|
FilenameFilter |
getInputFileFilter()
Gets the current filter used to select files. |
static void |
main(String[] args)
|
static ClaimStatistic |
report(IReportable container,
Writer out,
ReportConfiguration pConfiguration)
|
ClaimStatistic |
report(PrintStream out)
Deprecated. use the two-arg version instead |
static void |
report(PrintStream out,
IReportable base,
InputStream style,
ReportConfiguration pConfiguration)
Output a report that is styled using a defined stylesheet. |
ClaimStatistic |
report(PrintStream out,
ReportConfiguration configuration)
|
static ClaimStatistic |
report(Writer out,
IReportable base,
InputStream style,
ReportConfiguration pConfiguration)
Output a report that is styled using a defined stylesheet. |
void |
setInputFileFilter(FilenameFilter inputFileFilter)
Sets the current filter used to select files. |
void |
styleReport(PrintStream out)
Deprecated. use the two-arg version instead |
void |
styleReport(PrintStream out,
ReportConfiguration configuration)
Output a report in the default style and default licence header matcher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final void main(String[] args) throws Exception
Exception
public FilenameFilter getInputFileFilter()
public void setInputFileFilter(FilenameFilter inputFileFilter)
inputFileFilter
- filter, or null when no filter has been setpublic ClaimStatistic report(PrintStream out) throws Exception
Exception
public ClaimStatistic report(PrintStream out, ReportConfiguration configuration) throws Exception
Exception
public void styleReport(PrintStream out) throws Exception
out
- - the output stream to recieve the styled report
Exception
public void styleReport(PrintStream out, ReportConfiguration configuration) throws Exception
out
- - the output stream to recieve the styled reportconfiguration
- the configuration to use
Exception
public static void report(PrintStream out, IReportable base, InputStream style, ReportConfiguration pConfiguration) throws IOException, TransformerConfigurationException, InterruptedException, RatException
out
- the stream to write the report tobase
- the files or directories to report onstyle
- an input stream representing the stylesheet to use for styling the report
IOException
TransformerConfigurationException
InterruptedException
RatException
public static ClaimStatistic report(Writer out, IReportable base, InputStream style, ReportConfiguration pConfiguration) throws IOException, TransformerConfigurationException, FileNotFoundException, InterruptedException, RatException
out
- the writer to write the report tobase
- the files or directories to report onstyle
- an input stream representing the stylesheet to use for styling the report
IOException
TransformerConfigurationException
FileNotFoundException
InterruptedException
RatException
public static ClaimStatistic report(IReportable container, Writer out, ReportConfiguration pConfiguration) throws IOException, RatException
container
- the files or directories to report onout
- the writer to write the report to
IOException
RatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |