Package com.tsystems.sbs
Class LogFileFilterOutputStream
java.lang.Object
java.io.OutputStream
hudson.console.LineTransformationOutputStream
com.tsystems.sbs.LogFileFilterOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
This class deals with the actual filtering of the console using the configured regexes. Bear in mind that for now
only one line expressions are possible.
- Author:
- ccapdevi
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.console.LineTransformationOutputStream
LineTransformationOutputStream.Delegating
-
Constructor Summary
ConstructorDescriptionLogFileFilterOutputStream
(OutputStream out, Charset charset, String jobName, LogFileFilterConfig config) -
Method Summary
Methods inherited from class hudson.console.LineTransformationOutputStream
forceEol, trimEOL, write, write
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
LogFileFilterOutputStream
public LogFileFilterOutputStream(OutputStream out, Charset charset, String jobName, LogFileFilterConfig config)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classLineTransformationOutputStream
- Throws:
IOException
-
eol
- Specified by:
eol
in classLineTransformationOutputStream
- Throws:
IOException
-