public class StatusLine
extends java.lang.Object
Constructor and Description |
---|
StatusLine()
Creates a new StatusLine that will be written to standard out.
|
StatusLine(java.lang.String fileName)
Creates a new StatusLine that will be written to the given file name.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deactivates the status line and removes the text file (if any) from disk.
|
void |
set(java.lang.String status)
Sets the current status.
|
public StatusLine()
public StatusLine(java.lang.String fileName)
fileName
- status filepublic void set(java.lang.String status)
status
- the new status line to write to disk immediately.public void close()