类 AbstractCharSequenceDecoder<T extends CharSequence>

类型参数:
T - the character sequence type
所有已实现的接口:
Decoder<T>
直接已知子类:
CharBufferDecoder, StringDecoder

public abstract class AbstractCharSequenceDecoder<T extends CharSequence> extends AbstractDataBufferDecoder<T>
Abstract base class that decodes from a data buffer stream to a CharSequence stream.
从以下版本开始:
4.0
作者:
Arjen Poutsma, Harry Yang
  • 字段详细资料

    • DEFAULT_DELIMITERS

      public static final List<String> DEFAULT_DELIMITERS
      The default delimiter strings to use, i.e. \r\n and \n.
    • delimiters

      private final ArrayList<String> delimiters
    • stripDelimiter

      private final boolean stripDelimiter
    • defaultCharset

      private Charset defaultCharset
    • delimitersCache

      private final ConcurrentHashMap<Charset,byte[][]> delimitersCache
  • 构造器详细资料

    • AbstractCharSequenceDecoder

      protected AbstractCharSequenceDecoder(List<String> delimiters, boolean stripDelimiter, MimeType... mimeTypes)
      Create a new AbstractCharSequenceDecoder with the given parameters.
  • 方法详细资料