public class MaxSizeInputStream extends InputStream
| Constructor and Description |
|---|
MaxSizeInputStream(InputStream wrappedStream,
long maxSize,
String url)
The default constructor for NativeHTTPDataLoader.MaxSizeInputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skippublic MaxSizeInputStream(InputStream wrappedStream, long maxSize, String url)
wrappedStream - the wrapped streammaxSize - the maximum size to readurl - the url sourcepublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2019. All rights reserved.