@Deprecated
public class LimitedInputStream
extends InputStream
Constructor and Description |
---|
LimitedInputStream(InputStream inputStream,
long offset,
long length)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
available()
Deprecated.
|
void |
close()
Deprecated.
|
void |
mark(int readLimit)
Deprecated.
|
boolean |
markSupported()
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(byte[] bytes)
Deprecated.
|
int |
read(byte[] bytes,
int offset,
int length)
Deprecated.
|
void |
reset()
Deprecated.
|
long |
skip(long skip)
Deprecated.
|
public LimitedInputStream(InputStream inputStream, long offset, long length) throws IOException
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void mark(int readLimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes) throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes, int offset, int length) throws IOException
read
in class InputStream
IOException
public void reset()
reset
in class InputStream
public long skip(long skip) throws IOException
skip
in class InputStream
IOException