public class Report extends Object
Modifier and Type | Method and Description |
---|---|
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
report(PrintStream, ReportConfiguration) 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
styleReport(PrintStream, ReportConfiguration) instead |
void |
styleReport(PrintStream out,
ReportConfiguration configuration)
Output a report in the default style and default license
header matcher.
|
public FilenameFilter getInputFileFilter()
public void setInputFileFilter(FilenameFilter inputFileFilter)
inputFileFilter
- filter, or null when no filter has been set@Deprecated public ClaimStatistic report(PrintStream out) throws Exception
report(PrintStream, ReportConfiguration)
insteadout
- - the output stream to receive the styled reportException
- in case of errors.public ClaimStatistic report(PrintStream out, ReportConfiguration configuration) throws Exception
out
- - the output stream to receive the styled reportconfiguration
- - current configuration options.Exception
- in case of errors.@Deprecated public void styleReport(PrintStream out) throws Exception
styleReport(PrintStream, ReportConfiguration)
insteadout
- - the output stream to receive the styled reportException
- in case of errors.public void styleReport(PrintStream out, ReportConfiguration configuration) throws Exception
out
- - the output stream to receive the styled reportconfiguration
- the configuration to useException
- in case of errors.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 reportpConfiguration
- current report configuration.IOException
- in case of I/O errors.TransformerConfigurationException
- in case of XML errors.InterruptedException
- in case of threading errors.RatException
- in case of internal errors.public static ClaimStatistic report(Writer out, IReportable base, InputStream style, ReportConfiguration pConfiguration) throws IOException, TransformerConfigurationException, 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 reportpConfiguration
- current report configuration.IOException
- in case of I/O errors.TransformerConfigurationException
- in case of XML errors.InterruptedException
- in case of threading errors.RatException
- in case of internal errors.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 topConfiguration
- current report configuration.IOException
- in case of I/O errors.RatException
- in case of internal errors.Copyright © 2006–2019 Apache Software Foundation. All rights reserved.