public class CachingPrintStream extends PrintStream
out
Constructor and Description |
---|
CachingPrintStream(OutputStream out) |
CachingPrintStream(OutputStream out,
boolean autoFlush,
String encoding) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
List<String> |
getOutput() |
void |
println(String out) |
append, append, append, checkError, clearError, close, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write
write
public CachingPrintStream(OutputStream out, boolean autoFlush, String encoding) throws FileNotFoundException, UnsupportedEncodingException
public CachingPrintStream(OutputStream out)
public void println(String out)
println
in class PrintStream
public void flush()
flush
in interface Flushable
flush
in class PrintStream
Copyright © 2017 The Apache Software Foundation. All rights reserved.