public class Stringer
extends java.lang.Object
Constructor and Description |
---|
Stringer()
empty constructor
|
Modifier and Type | Method and Description |
---|---|
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()
|
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()
Copyright 2016