public class TrackableByteArrayInputStream
extends java.io.ByteArrayInputStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrackableByteArrayInputStream.Tracker |
| Constructor and Description |
|---|
TrackableByteArrayInputStream(byte[] buf,
TrackableByteArrayInputStream.Tracker tracker) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
TrackableByteArrayInputStream.Tracker |
getTracker() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public TrackableByteArrayInputStream(byte[] buf,
TrackableByteArrayInputStream.Tracker tracker)
public TrackableByteArrayInputStream.Tracker getTracker()
public int read()
read in class java.io.ByteArrayInputStreampublic int read(byte[] b,
int off,
int len)
read in class java.io.ByteArrayInputStreampublic void reset()
reset in class java.io.ByteArrayInputStreampublic long skip(long n)
skip in class java.io.ByteArrayInputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.ByteArrayInputStreamjava.io.IOException