Package com.splunk.splunkjenkins.utils
Class PlainTextConsoleUtils
java.lang.Object
com.splunk.splunkjenkins.utils.PlainTextConsoleUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
arrayIndexOf
(byte[] buf, int start, int end, byte[] matches) static void
decodeConsole
(byte[] in, int length, ByteArrayOutputStream out) the logical extracted from PlainTextConsoleOutputStream console annotation will be removed, e.g.
-
Constructor Details
-
PlainTextConsoleUtils
public PlainTextConsoleUtils()
-
-
Method Details
-
arrayIndexOf
public static int arrayIndexOf(byte[] buf, int start, int end, byte[] matches) -
decodeConsole
the logical extracted from PlainTextConsoleOutputStream console annotation will be removed, e.g. Input:Started by user ESC[8mha:AAAAlh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzOEgYu/dLi1CL9vNKcHACFIKlWvwAAAA==ESC[0manonymous Output:Started by user anonymous- Parameters:
in
- the byte arraylength
- how many bytes we want to read inout
- write max(length) to out- See Also:
-