wt.wrmf.delivery
Class WTGZIPInputStream
java.lang.Object
java.io.InputStream
wt.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
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
WTGZIPInputStream
public WTGZIPInputStream(InputStream is)
throws IOException
Supported API: false
- Parameters:
is
-
- Throws:
IOException
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