类 StringDecoder

  • 所有已实现的接口:
    Decoder<String>

    public final class StringDecoder
    extends AbstractDataBufferDecoder<String>
    Decode from a data buffer stream to a String stream, either splitting or aggregating incoming data chunks to realign along newlines delimiters and produce a stream of strings. This is useful for streaming but is also necessary to ensure that that multibyte characters can be decoded correctly, avoiding split-character issues. The default delimiters used by default are \n and \r\n but that can be customized.
    从以下版本开始:
    5.0
    作者:
    Sebastien Deleuze, Brian Clozel, Arjen Poutsma, Mark Paluch
    另请参阅:
    CharSequenceEncoder