Class ReaderInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ReaderInputStream
    extends PushedInputStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int defaultBufferSize  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReaderInputStream​(java.io.Reader reader, java.lang.String encoding)  
      ReaderInputStream​(java.io.Reader reader, java.lang.String encoding, int bufferSize)  
    • Field Detail

      • defaultBufferSize

        public static int defaultBufferSize
    • Constructor Detail

      • ReaderInputStream

        public ReaderInputStream​(java.io.Reader reader,
                                 java.lang.String encoding)
                          throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
      • ReaderInputStream

        public ReaderInputStream​(java.io.Reader reader,
                                 java.lang.String encoding,
                                 int bufferSize)
                          throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
    • Method Detail

      • fill

        public void fill​(int requestedBytes)
                  throws java.io.IOException
        Throws:
        java.io.IOException