public class PrintStreamOption extends OptionValue<String>
OptionValue.OverrideScope| Modifier and Type | Field and Description |
|---|---|
private PrintStream |
ps
The print stream to which output will be written.
|
value| Constructor and Description |
|---|
PrintStreamOption() |
| Modifier and Type | Method and Description |
|---|---|
private String |
getFilename()
Replace any instance of %p with a an identifying name.
|
PrintStream |
getStream()
Gets the print stream configured by this option.
|
void |
setValue(Object v)
Sets the value of this option.
|
defaultValue, getDefaultValue, getDescriptor, getName, getOverrideScope, getValue, getValues, hasDefaultValue, override, override, override, setDescriptor, setOverrideScope, toStringprivate volatile PrintStream ps
volatile to enable safe use of double-checked locking in
getStream() and setValue(Object).public PrintStreamOption()
private String getFilename()
public PrintStream getStream()
CompilerToVM.writeDebugOutput(byte[], int, int).public void setValue(Object v)
OptionValuesetValue in class OptionValue<String>