Class AbstractStreamDecoder.Memento
- java.lang.Object
-
- org.apache.maven.surefire.api.stream.AbstractStreamDecoder.Memento
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.ByteBufferbbprivate java.nio.CharBuffercbprivate java.nio.charset.CharsetDecodercurrentDecoderprivate java.util.List<java.lang.Object>dataprivate java.nio.charset.CharsetDecoderdefaultDecoderprivate AbstractStreamDecoder.BufferedStreamline
-
Constructor Summary
Constructors Constructor Description Memento()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffergetByteBuffer()java.nio.CharBuffergetCharBuffer()java.util.List<java.lang.Object>getData()java.nio.charset.CharsetDecodergetDecoder()AbstractStreamDecoder.BufferedStreamgetLine()<T> TofDataAt(int indexOfData)voidreset()voidsetCharset(java.nio.charset.Charset charset)
-
-
-
Field Detail
-
currentDecoder
private java.nio.charset.CharsetDecoder currentDecoder
-
defaultDecoder
private final java.nio.charset.CharsetDecoder defaultDecoder
-
line
private final AbstractStreamDecoder.BufferedStream line
-
data
private final java.util.List<java.lang.Object> data
-
cb
private final java.nio.CharBuffer cb
-
bb
private final java.nio.ByteBuffer bb
-
-
Method Detail
-
reset
public void reset()
-
getDecoder
public java.nio.charset.CharsetDecoder getDecoder()
-
setCharset
public void setCharset(java.nio.charset.Charset charset)
-
getLine
public AbstractStreamDecoder.BufferedStream getLine()
-
getData
public java.util.List<java.lang.Object> getData()
-
ofDataAt
public <T> T ofDataAt(int indexOfData)
-
getCharBuffer
public java.nio.CharBuffer getCharBuffer()
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
-
-