Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.net
Class CompressionFilter.InflaterInputShell

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              java.util.zip.InflaterInputStream
                  com.tangosol.net.CompressionFilter.InflaterInputShell

All Implemented Interfaces:
  java.io.Closeable

Enclosing class:
  CompressionFilter

    public static class CompressionFilter.InflaterInputShell

extends java.util.zip.InflaterInputStream

InflaterInputShell enforces the "end" call for the corresponding Inflater object.

Field Summary

Fields inherited from class java.util.zip.InflaterInputStream
`buf, inf, len`

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`CompressionFilter.InflaterInputShell(java.io.InputStream stream, java.util.zip.Inflater inflater)` Create a new input stream with the specified decompressor.
`CompressionFilter.InflaterInputShell(java.io.InputStream stream, java.util.zip.Inflater inflater, int cbSize)` Create a new input stream with the specified decompressor and buffer size.

Method Summary
`void` | `close()` Close the input stream.
`int` | `read()` Overrides the underlying `InflaterInputStream.read()` implementation making the known bug fix in JDK 1.4.1 ( "InflaterInputStream is very memory inefficient") retroactive for prior JDKs.

Methods inherited from class java.util.zip.InflaterInputStream
`available, fill, mark, markSupported, read, reset, skip`

Methods inherited from class java.io.FilterInputStream
`read`

Constructor Detail

### CompressionFilter.InflaterInputShell

    public CompressionFilter.InflaterInputShell(java.io.InputStream stream,
                                                java.util.zip.Inflater inflater)

  Create a new input stream with the specified decompressor.

  Parameters:
    `stream` - the input stream
    `inflater` - the decompressor ("inflater")

### CompressionFilter.InflaterInputShell

    public CompressionFilter.InflaterInputShell(java.io.InputStream stream,
                                                java.util.zip.Inflater inflater,
                                                int cbSize)

  Create a new input stream with the specified decompressor and buffer size.

  Parameters:
    `stream` - the input stream
    `inflater` - the decompressor ("inflater")
    `cbSize` - the input buffer size

Method Detail

### close

    public void close()
               throws java.io.IOException

  Close the input stream.

  Specified by:
    `close` in interface `java.io.Closeable`
  Overrides:
    `close` in class `java.util.zip.InflaterInputStream`
  Throws:
    `java.io.IOException`

### read

    public int read()
             throws java.io.IOException

  Overrides the underlying `InflaterInputStream.read()` implementation making the known bug fix in JDK 1.4.1 ( "InflaterInputStream is very memory inefficient") retroactive for prior JDKs.

  Overrides:
    `read` in class `java.util.zip.InflaterInputStream`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.