JavaScript is disabled on your browser.
Bndtools https://bndtools.org/
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
aQute.remote.agent.RedirectOutput
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
public class RedirectOutput
extends java.io.PrintStream
Handles the redirection of the output. Any text written to this PrintStream
is send to the supervisor. We are a bit careful here that we're breaking
recursive calls that can happen when there is shit happening deep down below.
Constructor Summary
Constructors
Constructor and Description
RedirectOutput (java.util.List<AgentServer > agents,
java.io.PrintStream out,
boolean err)
Method Summary
Methods inherited from class java.io.PrintStream
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, println, setError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
write
public void write(int b)
Overrides:
write in class java.io.PrintStream
flush
public void flush()
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.PrintStream
close
public void close()
Specified by:
close in interface java.io.Closeable
Specified by:
close in interface java.lang.AutoCloseable
Overrides:
close in class java.io.PrintStream
Copyright (c) aQute SARL (2000, 2019) and others. All Rights Reserved.
Copyright (c) aQute SARL (2000, 2019) and others. All Rights Reserved.