Java org.apache.commons.io.input CountingInputStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.io.input CountingInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.io.input CountingInputStream.

The text is from its open source code.

Subclass

org.apache.commons.io.input.CountingInputStream has subclasses.
Click this link to see all its subclasses.

Constructor

CountingInputStream(InputStream in)
Constructs a new CountingInputStream.

Method

voidclose()
Invokes the delegate's close() method.
longgetByteCount()
The number of bytes that have passed through this stream.
intgetCount()
The number of bytes that have passed through this stream.
intread(byte[] b)
Reads a number of bytes into the byte array, keeping count of the number read.
longskip(final long length)
Skips the stream over the specified number of bytes, adding the skipped amount to the count.