public class LimitInputStream extends FilterInputStream
in
Constructor and Description |
---|
LimitInputStream(InputStream in,
long maxLength) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
public LimitInputStream(InputStream in, long maxLength)
public int available() throws IOException
available
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.