|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJavaGrinders.Stringer
public class Stringer
represents the central entity that reports results. All output is directed to this object and with it we can set at a single Capture in what form results are reported.
| Constructor Summary | |
|---|---|
Stringer()
empty constructor |
|
| Method Summary | |
|---|---|
boolean |
isConsole()
returns whether the console is the destination |
void |
setReportToConsole(boolean console)
controls whether oputput goes to the console |
void |
tell(java.lang.String aString)
interface to console.print() |
void |
tellln()
interface to console.println() - empty line |
void |
tellln(double aDouble)
interface to console.println() |
void |
tellln(float aFloat)
interface to console.println() |
void |
tellln(int anInt)
interface to console.println() |
void |
tellln(long aLong)
interface to console.println() |
void |
tellln(java.lang.String aString)
interface to console.println() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Stringer()
| Method Detail |
|---|
public void tell(java.lang.String aString)
aString - the string to reportpublic void tellln(java.lang.String aString)
aString - the string to reportpublic void tellln(long aLong)
aLong - the long to reportpublic void tellln(int anInt)
anInt - the int to reportpublic void tellln(double aDouble)
aDouble - the double to reportpublic void tellln(float aFloat)
aFloat - the float to reportpublic void tellln()
public void setReportToConsole(boolean console)
console - specifies whether to use the consolepublic boolean isConsole()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||