@Deprecated public class LimitedInputStream extends FilterInputStream implements Closeable
in| Constructor and Description |
|---|
LimitedInputStream(InputStream inputStream,
long limitSize)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
protected void |
raiseError(long pSizeMax,
long pCount)
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
available, mark, markSupported, read, reset, skippublic LimitedInputStream(InputStream inputStream, long limitSize)
protected void raiseError(long pSizeMax,
long pCount)
throws IOException
IOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2025. All rights reserved.