public class HTTPBodyInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
myDelegate |
private java.io.File |
myFile |
| Constructor and Description |
|---|
HTTPBodyInputStream(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private java.io.InputStream |
getDelegate() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionprivate java.io.InputStream getDelegate()
throws java.io.IOException
java.io.IOException