public class CountingReaderInputStream extends InputStream
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getLength()
The number of characters read so far (but there might still be some bytes
in the buffer).
|
int |
read() |
int |
read(byte[] buff,
int offset,
int len) |
available, mark, markSupported, read, reset, skip
public int read(byte[] buff, int offset, int len) throws IOException
read
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public long getLength()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2020 JBoss by Red Hat. All rights reserved.