public class CountingInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
CountingInputStream(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
long |
getBytesRead() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public long getBytesRead()
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.