|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
org.baselinetest.BaselineWriter
public class BaselineWriter
A helper object for writing baseline output to the appropriate file.
| Field Summary | |
|---|---|
static java.lang.String |
BASELINE_OUTPUT_PREFIX
The prefix for baseline output files. |
static java.lang.String |
BASELINE_OUTPUT_SUFFIX
The suffix for baseline output files. |
static java.lang.String |
DEFAULT_ENCODING
|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
BaselineWriter()
|
|
BaselineWriter(TestState testState)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
void |
print(boolean b)
Add to the baseline output. |
void |
print(int i)
Add to the baseline output. |
void |
print(long l)
Add to the baseline output. |
void |
print(java.lang.Object o)
Add to the baseline output. |
void |
print(short s)
Add to the baseline output. |
void |
println()
Add a CR to the baseline output. |
void |
println(boolean b)
Add to the baseline output. |
void |
println(int i)
Add to the baseline output. |
void |
println(long l)
Add to the baseline output. |
void |
println(java.lang.Object o)
Add to the baseline output. |
void |
println(short s)
Add to the baseline output. |
void |
printlnSubstitution(java.lang.String category,
java.lang.Object object)
|
void |
printSubstitution(java.lang.String category,
java.lang.Object object)
|
void |
write(char[] cbuf,
int off,
int len)
|
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BASELINE_OUTPUT_PREFIX
public static final java.lang.String BASELINE_OUTPUT_SUFFIX
public static final java.lang.String DEFAULT_ENCODING
| Constructor Detail |
|---|
public BaselineWriter()
public BaselineWriter(TestState testState)
| Method Detail |
|---|
public void printSubstitution(java.lang.String category,
java.lang.Object object)
public void printlnSubstitution(java.lang.String category,
java.lang.Object object)
public void println()
public void print(boolean b)
b - value to be printed to the baseline.public void println(boolean b)
b - value to be printed to the baseline.public void print(int i)
i - value to be printed to the baseline.public void println(int i)
i - value to be printed to the baseline.public void print(long l)
l - value to be printed to the baseline.public void println(long l)
l - value to be printed to the baseline.public void print(short s)
s - value to be printed to the baseline.public void println(short s)
s - value to be printed to the baseline.public void print(java.lang.Object o)
o - Object to be printed to the baseline.public void println(java.lang.Object o)
o - Object to be printed to the baseline.
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Writerjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOException
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||