public class Application.FXProtocol extends Object implements Protocol
TextFlow
.
If different tools are run in succession, protocol outputs are appended to the previous
state of the protocol.Constructor and Description |
---|
FXProtocol()
Creates a new protocol.
|
Modifier and Type | Method and Description |
---|---|
void |
append(String str) |
void |
appendHeading(String heading) |
void |
appendThrowable(Throwable th) |
void |
appendVerbatim(String verbatim) |
void |
appendWarning(String warning) |
void |
erase()
Erases the contents of the protocol, including the background log.
|
void |
flush() |
TextFlow |
getTextFlow()
Returns the
TextFlow object representing the current view on the protocols
of all tools. |
String |
toString() |
public TextFlow getTextFlow()
TextFlow
object representing the current view on the protocols
of all tools.TextFlow
objectpublic void erase()
public void appendHeading(String heading)
appendHeading
in interface Protocol
public void appendWarning(String warning)
appendWarning
in interface Protocol
public void appendThrowable(Throwable th)
appendThrowable
in interface Protocol
public void appendVerbatim(String verbatim)
appendVerbatim
in interface Protocol
public void flush() throws IOException
flush
in interface Flushable
IOException