Class InflaterByteSource

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

    public class InflaterByteSource
    extends CloseableByteSource
    Byte source that inflates another byte source. It assumed the inner byte source has deflated data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void innerClose()
      Closes the by source.
      java.io.InputStream openStream()  
      • Methods inherited from class com.google.common.io.ByteSource

        asCharSource, concat, concat, concat, contentEquals, copyTo, copyTo, empty, hash, isEmpty, openBufferedStream, read, read, size, sizeIfKnown, slice, wrap
      • Methods inherited from class java.lang.Object

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

      • InflaterByteSource

        public InflaterByteSource​(CloseableByteSource byteSource)
        Creates a new source.
        Parameters:
        byteSource - the factory for deflated data
    • Method Detail

      • openStream

        public java.io.InputStream openStream()
                                       throws java.io.IOException
        Specified by:
        openStream in class com.google.common.io.ByteSource
        Throws:
        java.io.IOException