@Deprecated
public class LimitedInputStream
extends java.io.InputStream
Constructor and Description |
---|
LimitedInputStream(java.io.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(java.io.InputStream inputStream, long offset, long length) throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public void mark(int readLimit)
mark
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void reset()
reset
in class java.io.InputStream
public long skip(long skip) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException