public class BaseResults
extends java.lang.Object
Constructor and Description |
---|
BaseResults() |
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuffer |
append(java.lang.StringBuffer sb,
java.lang.String s)
Append string to a string buffer.
|
static java.lang.StringBuffer |
appendLn(java.lang.StringBuffer sb,
java.lang.String s)
Append string with line feed to a string buffer.
|
java.lang.String |
stringFromHTML()
Generate string representation from HTML.
|
static java.lang.String |
tabularDataBaseResults(java.lang.String tabularData,
boolean firstColumnContainsLabels)
Convert tabular data to HTML table.
|
java.lang.String |
toHTML()
Generate HTML representation of object.
|
public static java.lang.StringBuffer appendLn(java.lang.StringBuffer sb, java.lang.String s)
sb
- The string buffer.s
- The string to append.public static java.lang.StringBuffer append(java.lang.StringBuffer sb, java.lang.String s)
sb
- The string buffer.s
- The string to append.public static java.lang.String tabularDataBaseResults(java.lang.String tabularData, boolean firstColumnContainsLabels)
tabularData
- Tabular data.firstColumnContainsLabels
- true if first column is labels.First line of tabular data is title. May be empty.
Second line of tabular data is column titles. May be empty.Third through last lines are tab-separated table values. May not be supplied if table is empty.
public java.lang.String stringFromHTML()
public java.lang.String toHTML()