object ConsoleOut
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConsoleOut
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def bufferedWriterOut(out: BufferedWriter): ConsoleOut
- def overwriteContaining(s: String): (String, String) ⇒ Boolean
- def printStreamOut(out: PrintStream): ConsoleOut
- def printWriterOut(out: PrintWriter): ConsoleOut
- def systemOut: ConsoleOut
-
def
systemOutOverwrite(f: (String, String) ⇒ Boolean): ConsoleOut
ConsoleOut instance that is backed by System.out.
ConsoleOut instance that is backed by System.out. It overwrites the previously printed line if the function
f(lineToWrite, previousLine)
returns true.The ConsoleOut returned by this method assumes that the only newlines are from println calls and not in the String arguments.