com.jcraft.jzlib
Class ZOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by com.jcraft.jzlib.ZOutputStream
All Implemented Interfaces:
Closeable, Flushable

Deprecated. use DeflaterOutputStream or InflaterInputStream

@Deprecated
public class ZOutputStream
extends FilterOutputStream

ZOutputStream


Field Summary
protected  byte[] buf
          Deprecated.  
protected  int bufsize
          Deprecated.  
protected  boolean compress
          Deprecated.  
protected  int flush
          Deprecated.  
protected  OutputStream out
          Deprecated.  
 
Constructor Summary
ZOutputStream(OutputStream out)
          Deprecated.  
ZOutputStream(OutputStream out, int level)
          Deprecated.  
ZOutputStream(OutputStream out, int level, boolean nowrap)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
 void end()
          Deprecated.  
 void finish()
          Deprecated.  
 void flush()
          Deprecated.  
 int getFlushMode()
          Deprecated.  
 long getTotalIn()
          Deprecated.  
 long getTotalOut()
          Deprecated.  
 void setFlushMode(int flush)
          Deprecated.  
 void write(byte[] b, int off, int len)
          Deprecated.  
 void write(int b)
          Deprecated.  
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bufsize

protected int bufsize
Deprecated. 

flush

protected int flush
Deprecated. 

buf

protected byte[] buf
Deprecated. 

compress

protected boolean compress
Deprecated. 

out

protected OutputStream out
Deprecated. 
Constructor Detail

ZOutputStream

public ZOutputStream(OutputStream out)
              throws IOException
Deprecated. 
Throws:
IOException

ZOutputStream

public ZOutputStream(OutputStream out,
                     int level)
              throws IOException
Deprecated. 
Throws:
IOException

ZOutputStream

public ZOutputStream(OutputStream out,
                     int level,
                     boolean nowrap)
              throws IOException
Deprecated. 
Throws:
IOException
Method Detail

write

public void write(int b)
           throws IOException
Deprecated. 
Overrides:
write in class FilterOutputStream
Throws:
IOException

write

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

getFlushMode

public int getFlushMode()
Deprecated. 

setFlushMode

public void setFlushMode(int flush)
Deprecated. 

finish

public void finish()
            throws IOException
Deprecated. 
Throws:
IOException

end

public void end()
Deprecated. 

close

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

getTotalIn

public long getTotalIn()
Deprecated. 

getTotalOut

public long getTotalOut()
Deprecated. 

flush

public void flush()
           throws IOException
Deprecated. 
Specified by:
flush in interface Flushable
Overrides:
flush in class FilterOutputStream
Throws:
IOException


Copyright © 2015 Perforce Software. All Rights Reserved.