org.sodatest.api.java
Class JavaReportConverter
java.lang.Object
org.sodatest.api.java.JavaParameterConverter
org.sodatest.api.java.JavaReportConverter
- Direct Known Subclasses:
- ReflectiveSodaReportForJava, SodaReportForJava
public abstract class JavaReportConverter
- extends JavaParameterConverter
Abstract class for Java-based SodaReports that provides helper methods for
Java-Scala integration, especially around conversion of Report results.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaReportConverter
public JavaReportConverter()
convertReport
protected scala.collection.Seq<scala.collection.Seq<String>> convertReport(List<List<String>> report)
- Converts a Java
List>
to a Scala Seq[Seq[String]]
Subclasses can override this method if they wish to use a different conversion.
- Returns:
- the contents of 'report' inserted into a Scala Seq of Seqs.
toSingleCellReport
protected List<List<String>> toSingleCellReport(Object value)
toSingleRowReport
protected List<List<String>> toSingleRowReport(Iterable<?> values)
toSingleColumnReport
protected List<List<String>> toSingleColumnReport(Iterable<?> values)
toReport
protected List<List<String>> toReport(Iterable<Iterable<?>> table)
Copyright © 2010-2011 Belmont Technology Pty Ltd. All Rights Reserved.