Class TextLineEncoder

    • Constructor Detail

      • TextLineEncoder

        public TextLineEncoder()
      • TextLineEncoder

        public TextLineEncoder​(LineDelimiter delimiter)
      • TextLineEncoder

        public TextLineEncoder​(java.nio.charset.Charset charset)
      • TextLineEncoder

        public TextLineEncoder​(java.nio.charset.Charset charset,
                               LineDelimiter delimiter)
    • Method Detail

      • getMaxLineLength

        public int getMaxLineLength()
        Returns the allowed maximum size of the encoded line. If the size of the encoded line exceeds this value, the encoder will throw a IllegalArgumentException. The default value is Integer.MAX_VALUE.
      • setMaxLineLength

        public void setMaxLineLength​(int maxLineLength)
        Sets the allowed maximum size of the encoded line. If the size of the encoded line exceeds this value, the encoder will throw a IllegalArgumentException. The default value is Integer.MAX_VALUE.
      • dispose

        public void dispose()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception