com.tngtech.jgiven.report.text
Class PlainTextReporter

java.lang.Object
  extended by com.tngtech.jgiven.report.model.ReportModelVisitor
      extended by com.tngtech.jgiven.report.text.PlainTextWriter
          extended by com.tngtech.jgiven.report.text.PlainTextReporter

public class PlainTextReporter
extends PlainTextWriter


Field Summary
 
Fields inherited from class com.tngtech.jgiven.report.text.PlainTextWriter
stream, withColor
 
Constructor Summary
PlainTextReporter()
           
PlainTextReporter(boolean withColor)
           
PlainTextReporter(OutputStream outputStream, boolean withColor)
           
 
Method Summary
static String toString(ReportModel model)
           
 void visit(ReportModel multiScenarioModel)
           
 void visit(ScenarioModel scenarioModel)
           
 void write(ReportModel model)
           
 void write(ScenarioModel scenarioModel)
           
 
Methods inherited from class com.tngtech.jgiven.report.model.ReportModelVisitor
visit, visit, visitEnd, visitEnd, visitEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainTextReporter

public PlainTextReporter()

PlainTextReporter

public PlainTextReporter(boolean withColor)

PlainTextReporter

public PlainTextReporter(OutputStream outputStream,
                         boolean withColor)
                  throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException
Method Detail

toString

public static String toString(ReportModel model)
                       throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

write

public void write(ReportModel model)

write

public void write(ScenarioModel scenarioModel)

visit

public void visit(ReportModel multiScenarioModel)
Overrides:
visit in class ReportModelVisitor

visit

public void visit(ScenarioModel scenarioModel)
Overrides:
visit in class ReportModelVisitor


Copyright © 2014 TNG Technology Consulting. All rights reserved.