public class LengthInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
LengthInputStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public LengthInputStream(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long getLength()