public class CachingPrintStream extends SessionStream
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) |
close
append, append, append, checkError, clearError, 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 © 2023 The Apache Software Foundation. All rights reserved.