Package hudson.console
Class PlainTextConsoleOutputStream
java.lang.Object
java.io.OutputStream
hudson.console.LineTransformationOutputStream
hudson.console.LineTransformationOutputStream.Delegating
hudson.console.PlainTextConsoleOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Filters out console notes.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.console.LineTransformationOutputStream
LineTransformationOutputStream.Delegating
-
Field Summary
Fields inherited from class hudson.console.LineTransformationOutputStream.Delegating
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
eol
(byte[] in, int sz) Called after we read the whole line of plain text.Methods inherited from class hudson.console.LineTransformationOutputStream.Delegating
close, flush
Methods inherited from class hudson.console.LineTransformationOutputStream
forceEol, trimEOL, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
PlainTextConsoleOutputStream
-
-
Method Details
-
eol
Called after we read the whole line of plain text.- Specified by:
eol
in classLineTransformationOutputStream
- Parameters:
in
- Contents of the whole line, including the EOL code like CR/LF.sz
- Specifies the length of the valid contents in 'b'. The rest is garbage. This is so that the caller doesn't have to allocate an array of the exact size.- Throws:
IOException
-