public final class ProblemPrinter extends Object
ICompilerProblem
s.Constructor and Description |
---|
ProblemPrinter(ProblemFormatter formatter) |
ProblemPrinter(ProblemFormatter formatter,
OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
int |
printProblems(Collection<ICompilerProblem> problems,
IProblemFilter filter)
Print problems and return number of problems printed after applying the
filter.
|
int |
printProblems(Iterable<ICompilerProblem> problems)
Print a pre-filtered sequence of problems.
|
public ProblemPrinter(ProblemFormatter formatter, OutputStream outputStream)
public ProblemPrinter(ProblemFormatter formatter)
public int printProblems(Collection<ICompilerProblem> problems, IProblemFilter filter)
problems
- compiler problemsfilter
- problem filterpublic int printProblems(Iterable<ICompilerProblem> problems)
problems
- compiler problemsCopyright © 2016 The Apache Software Foundation. All rights reserved.