public class ReportTreePrinter extends AbstractTreeWriter implements IProcessRule
| Modifier and Type | Field and Description |
|---|---|
protected String |
folder |
writerimageTools, outputStream| Constructor and Description |
|---|
ReportTreePrinter() |
ReportTreePrinter(File file) |
ReportTreePrinter(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
done() |
void |
init(IDecisionMethod tree) |
Object |
process(IDecisionMethod method,
IDecisionRule rule) |
protected String |
writeMolecule(IDecisionMethod tree,
IDecisionRule rule,
boolean answer) |
getWriter, setWritergetOutputStream, setOutputStream, writeMoleculeprotected String folder
public ReportTreePrinter()
public ReportTreePrinter(OutputStream outputStream)
public ReportTreePrinter(File file) throws FileNotFoundException
FileNotFoundExceptionpublic void init(IDecisionMethod tree) throws DecisionMethodIOException
init in interface IProcessRuleDecisionMethodIOExceptionpublic void done()
throws DecisionMethodIOException
done in interface IProcessRuledone in class AbstractTreeWriterDecisionMethodIOExceptionpublic Object process(IDecisionMethod method, IDecisionRule rule) throws DecisionMethodIOException
process in interface IProcessRuleDecisionMethodIOExceptionprotected String writeMolecule(IDecisionMethod tree, IDecisionRule rule, boolean answer) throws Exception
ExceptionCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.