public class MinimumLengthInputStream extends FilterInputStream
Modifier and Type | Field and Description |
---|---|
private long |
consumedCount |
private long |
minLength |
in
Constructor and Description |
---|
MinimumLengthInputStream(InputStream in,
long minLength) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
available, close, mark, markSupported, reset
public MinimumLengthInputStream(InputStream in, long minLength)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) 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
Copyright © 2016 Apache NiFi Project. All rights reserved.