com.jcraft.jzlib
Class ZInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.jcraft.jzlib.ZInputStream
All Implemented Interfaces:
Closeable

Deprecated. use DeflaterOutputStream or InflaterInputStream

@Deprecated
public class ZInputStream
extends FilterInputStream

ZInputStream


Field Summary
protected  boolean compress
          Deprecated.  
protected  Deflater deflater
          Deprecated.  
protected  int flush
          Deprecated.  
protected  InflaterInputStream iis
          Deprecated.  
protected  InputStream in
          Deprecated.  
 
Constructor Summary
ZInputStream(InputStream in)
          Deprecated.  
ZInputStream(InputStream in, boolean nowrap)
          Deprecated.  
ZInputStream(InputStream in, int level)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
 int getFlushMode()
          Deprecated.  
 long getTotalIn()
          Deprecated.  
 long getTotalOut()
          Deprecated.  
 int read()
          Deprecated.  
 int read(byte[] b, int off, int len)
          Deprecated.  
 void setFlushMode(int flush)
          Deprecated.  
 long skip(long n)
          Deprecated.  
 
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flush

protected int flush
Deprecated. 

compress

protected boolean compress
Deprecated. 

in

protected InputStream in
Deprecated. 

deflater

protected Deflater deflater
Deprecated. 

iis

protected InflaterInputStream iis
Deprecated. 
Constructor Detail

ZInputStream

public ZInputStream(InputStream in)
             throws IOException
Deprecated. 
Throws:
IOException

ZInputStream

public ZInputStream(InputStream in,
                    boolean nowrap)
             throws IOException
Deprecated. 
Throws:
IOException

ZInputStream

public ZInputStream(InputStream in,
                    int level)
             throws IOException
Deprecated. 
Throws:
IOException
Method Detail

read

public int read()
         throws IOException
Deprecated. 
Overrides:
read in class FilterInputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Deprecated. 
Overrides:
read in class FilterInputStream
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Deprecated. 
Overrides:
skip in class FilterInputStream
Throws:
IOException

getFlushMode

public int getFlushMode()
Deprecated. 

setFlushMode

public void setFlushMode(int flush)
Deprecated. 

getTotalIn

public long getTotalIn()
Deprecated. 

getTotalOut

public long getTotalOut()
Deprecated. 

close

public void close()
           throws IOException
Deprecated. 
Specified by:
close in interface Closeable
Overrides:
close in class FilterInputStream
Throws:
IOException


Copyright © 2015 Perforce Software. All Rights Reserved.