Class StreamingEncoderWriter

    • Field Summary

      • Fields inherited from class java.io.FilterWriter

        out
      • Fields inherited from class java.io.Writer

        lock
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EncodedAppender getEncodedAppender()
      Gets the EncodedAppender that is connected to the instance of this implementation.
      Encoder getEncoder()
      Gets the current encoder in use.
      protected EncodingState lookupEncodingState​(java.lang.String str, int off, int len)  
      protected boolean shouldEncodeWith​(Encoder encoderToApply, EncodingState encodingState)  
      void write​(char[] cbuf, int off, int len)  
      void write​(int c)  
      void write​(java.lang.String str, int off, int len)  
      • Methods inherited from class java.io.FilterWriter

        close, flush
      • Methods inherited from class java.io.Writer

        append, append, append, nullWriter, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • write

        public void write​(char[] cbuf,
                          int off,
                          int len)
                   throws java.io.IOException
        Overrides:
        write in class java.io.FilterWriter
        Throws:
        java.io.IOException
      • write

        public void write​(java.lang.String str,
                          int off,
                          int len)
                   throws java.io.IOException
        Overrides:
        write in class java.io.FilterWriter
        Throws:
        java.io.IOException
      • shouldEncodeWith

        protected boolean shouldEncodeWith​(Encoder encoderToApply,
                                           EncodingState encodingState)
      • lookupEncodingState

        protected EncodingState lookupEncodingState​(java.lang.String str,
                                                    int off,
                                                    int len)
      • write

        public void write​(int c)
                   throws java.io.IOException
        Overrides:
        write in class java.io.FilterWriter
        Throws:
        java.io.IOException