public abstract class ProxyInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
ProxyInputStream(java.io.InputStream proxy)
Constructs a new ProxyInputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] data)
Invokes the delegate's
read(byte[]) method. |
public ProxyInputStream(java.io.InputStream proxy)
proxy - The input stream to which calls are delegated.public int read(byte[] data)
throws java.io.IOException
read(byte[]) method.read in class java.io.FilterInputStreamdata - The buffer to read the bytes into.java.io.IOException - if an I/O error occurs.