The troubleshooting trace of the settings sheet (task 5.3): the last events the sheet saw (the connection, the protocol version, the playback state, errors), bounded to {@value MAX_LINES} lines of at most {@value MAX_LINE} characters, each line cleaned.
More...
|
|
synchronized void | add (String line) |
| | Adds a line (cleaned and cut); the oldest line goes when the trace is full.
|
| |
|
synchronized List< String > | lines () |
| | The lines, oldest first.
|
| |
|
synchronized String | text () |
| | The trace as one text for the clipboard.
|
| |
|
|
static final int | MAX_LINES = 50 |
| |
|
static final int | MAX_LINE = 160 |
| |
The troubleshooting trace of the settings sheet (task 5.3): the last events the sheet saw (the connection, the protocol version, the playback state, errors), bounded to {@value MAX_LINES} lines of at most {@value MAX_LINE} characters, each line cleaned.
A URL in a line is shortened to its host and path (shorten): no user information, no query string, no fragment. The trace is for the screen and the clipboard; it never goes to the log. Pure and thread safe.
◆ shorten()
| static String de.yaacc.fcast.FCastSheetTrace.shorten |
( |
String | url | ) |
|
|
static |
- Returns
scheme://host:port/path of an http or https address, without user information, query and fragment; other text unchanged
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/fcast/FCastSheetTrace.java