public class FixedLengthInputStream extends InputStream
| 构造器和说明 |
|---|
FixedLengthInputStream(InputStream instream,
long length) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getLength() |
InputStream |
getWrappedInputStream() |
int |
read() |
void |
setLength(long length) |
void |
setWrappedInputStream(InputStream instream) |
available, close, mark, markSupported, read, read, reset, skippublic FixedLengthInputStream(InputStream instream, long length)
public InputStream getWrappedInputStream()
public void setWrappedInputStream(InputStream instream)
public long getLength()
public void setLength(long length)
public int read()
throws IOException
read 在类中 InputStreamIOExceptionCopyright © 2015. All Rights Reserved.