wt.wrmf.delivery
Class WTGZIPInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bywt.wrmf.delivery.WTGZIPInputStream
All Implemented Interfaces:
Runnable, Serializable

public class WTGZIPInputStream
extends InputStream
implements Runnable, Serializable

WTGZIPInputStream () accepts InputStream and returns a zipped InputStream corresponding to the GZIP algorithm. Use java.util.zip.GZIPInputStream to unzip it.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  GZIPOutputStream gzos
           
private  InputStream is
           
private  boolean isStarted
           
private  PipedInputStream pis
           
private static String RESOURCE
           
private  Thread thread
           
private static String versionID
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
WTGZIPInputStream(InputStream is)
          

Supported API: false
 
Method Summary
 int read()
          

Supported API: false
 int read(byte[] buf)
           
 int read(byte[] buf, int off, int len)
           
 void run()
          

Supported API: false
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

pis

private PipedInputStream pis

gzos

private GZIPOutputStream gzos

is

private InputStream is

thread

private Thread thread

isStarted

private boolean isStarted
Constructor Detail

WTGZIPInputStream

public WTGZIPInputStream(InputStream is)
                  throws IOException


Supported API: false

Parameters:
is -
Throws:
IOException
Method Detail

read

public int read()
         throws IOException


Supported API: false

Returns:
int
Throws:
IOException

run

public void run()


Supported API: false

Specified by:
run in interface Runnable

read

public int read(byte[] buf)
         throws IOException
Throws:
IOException

read

public int read(byte[] buf,
                int off,
                int len)
         throws IOException
Throws:
IOException