public abstract class OutputWriter extends PrintWriter
PrintWriter
for writing into output window or similar output
GUI component. It can support features like color printing, hyperlinks, or
folding.
Methods of this class can be called in any thread.
out
Modifier and Type | Method and Description |
---|---|
abstract void |
endFold(Fold fold)
Finish a fold.
|
abstract Position |
getCurrentPosition()
Get current position in the output stream.
|
abstract void |
print(String s,
Hyperlink link) |
abstract void |
print(String s,
Hyperlink link,
OutputColor color) |
abstract void |
print(String s,
OutputColor color) |
abstract void |
println(String s,
Hyperlink link) |
abstract void |
println(String s,
Hyperlink link,
OutputColor color) |
abstract void |
println(String s,
OutputColor color) |
abstract Fold |
startFold(boolean expanded)
Start a new fold.
|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
nullWriter
public abstract Position getCurrentPosition()
public abstract Fold startFold(boolean expanded)
expanded
- True if the fold should be expanded by default, false if
it should be collapsed.public abstract void endFold(Fold fold)
fold
- The fold to finish.public abstract void print(String s, Hyperlink link, OutputColor color)
public abstract void print(String s, OutputColor color)
public abstract void println(String s, Hyperlink link, OutputColor color)
public abstract void println(String s, OutputColor color)