toxTree.tree
Class ReportTreePrinter

java.lang.Object
  extended by toxTree.tree.AbstractTreePrinter
      extended by toxTree.tree.AbstractTreeWriter
          extended by toxTree.tree.ReportTreePrinter
All Implemented Interfaces:
IProcessRule

public class ReportTreePrinter
extends AbstractTreeWriter
implements IProcessRule


Field Summary
protected  java.lang.String folder
           
 
Fields inherited from class toxTree.tree.AbstractTreeWriter
writer
 
Fields inherited from class toxTree.tree.AbstractTreePrinter
imageTools, outputStream
 
Constructor Summary
ReportTreePrinter()
           
ReportTreePrinter(java.io.File file)
           
ReportTreePrinter(java.io.OutputStream outputStream)
           
 
Method Summary
 void done()
           
 void init(IDecisionMethod tree)
           
 java.lang.Object process(IDecisionMethod method, IDecisionRule rule)
           
protected  java.lang.String writeMolecule(IDecisionRule rule, boolean answer)
           
 
Methods inherited from class toxTree.tree.AbstractTreeWriter
getWriter, setWriter
 
Methods inherited from class toxTree.tree.AbstractTreePrinter
getOutputStream, setOutputStream, writeMolecule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

folder

protected java.lang.String folder
Constructor Detail

ReportTreePrinter

public ReportTreePrinter()

ReportTreePrinter

public ReportTreePrinter(java.io.OutputStream outputStream)

ReportTreePrinter

public ReportTreePrinter(java.io.File file)
                  throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

init

public void init(IDecisionMethod tree)
          throws DecisionMethodIOException
Specified by:
init in interface IProcessRule
Throws:
DecisionMethodIOException

done

public void done()
          throws DecisionMethodIOException
Specified by:
done in interface IProcessRule
Overrides:
done in class AbstractTreeWriter
Throws:
DecisionMethodIOException

process

public java.lang.Object process(IDecisionMethod method,
                                IDecisionRule rule)
                         throws DecisionMethodIOException
Specified by:
process in interface IProcessRule
Throws:
DecisionMethodIOException

writeMolecule

protected java.lang.String writeMolecule(IDecisionRule rule,
                                         boolean answer)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.