Class Utils.ReusableBufferedInputStream

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

    private static final class Utils.ReusableBufferedInputStream
    extends java.io.BufferedInputStream
    • Field Summary

      • Fields inherited from class java.io.BufferedInputStream

        buf, count, marklimit, markpos, pos
      • Fields inherited from class java.io.FilterInputStream

        in
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()  
      void mark​(int readlimit)
      Deprecated.
      boolean markSupported()  
      void reset()
      Deprecated.
      (package private) void setInputStream​(java.io.InputStream in)  
      • Methods inherited from class java.io.BufferedInputStream

        available, read, read, skip
      • Methods inherited from class java.io.FilterInputStream

        read
      • Methods inherited from class java.lang.Object

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

      • ReusableBufferedInputStream

        private ReusableBufferedInputStream()
    • Method Detail

      • setInputStream

        void setInputStream​(java.io.InputStream in)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.BufferedInputStream
      • markSupported

        public boolean markSupported()
        Overrides:
        markSupported in class java.io.BufferedInputStream
      • mark

        @Deprecated
        public void mark​(int readlimit)
        Deprecated.
        Overrides:
        mark in class java.io.BufferedInputStream
      • reset

        @Deprecated
        public void reset()
        Deprecated.
        Overrides:
        reset in class java.io.BufferedInputStream