Package org.jline.style
Class StyledWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
org.jline.style.StyledWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Styled
PrintWriter
which is aware of StyleExpression
syntax.- Since:
- 3.4
-
Field Summary
Fields inherited from class java.io.PrintWriter
out
-
Constructor Summary
ConstructorDescriptionStyledWriter
(OutputStream out, Terminal terminal, StyleResolver resolver, boolean autoFlush) StyledWriter
(Writer out, Terminal terminal, StyleResolver resolver, boolean autoFlush) -
Method Summary
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, flush, 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
Methods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
StyledWriter
-
StyledWriter
-
-
Method Details
-
write
- Overrides:
write
in classPrintWriter
-
format
- Overrides:
format
in classPrintWriter
-
format
- Overrides:
format
in classPrintWriter
-