java.lang.Object
java.io.Writer
java.io.FilterWriter
com.github.rvesse.airline.io.writers.AnsiWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Direct Known Subclasses:
ColorizedWriter
A writer that supports customizing the output with ANSI control codes
-
Field Summary
FieldsFields inherited from class java.io.FilterWriter
out
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
applyAll()
void
close()
final void
registerControl
(WriterControlTracker control) final void
registerControls
(WriterControlTracker... controls) protected final void
resetAll()
void
write
(char[] cbuf, int off, int len) void
write
(int c) void
Methods inherited from class java.io.FilterWriter
flush
-
Field Details
-
controls
-
-
Constructor Details
-
AnsiWriter
-
-
Method Details
-
registerControl
-
registerControls
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
applyAll
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterWriter
- Throws:
IOException
-
resetAll
- Throws:
IOException
-