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