public class FixedLengthInputStream extends FilterInputStream
in
Constructor and Description |
---|
FixedLengthInputStream(InputStream in,
long limit) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
available, mark, markSupported, read, reset
public FixedLengthInputStream(InputStream in, long limit)
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
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
Copyright © 2018 Arno Unkrig. All rights reserved.