public class PositionInputStream extends InputStream
Constructor and Description |
---|
PositionInputStream(InputStream carrier) |
Modifier and Type | Method and Description |
---|---|
long |
getPosition() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] dest) |
int |
read(byte[] dest,
int offset,
int length) |
void |
reset() |
long |
skip(long n) |
available, close
public PositionInputStream(InputStream carrier)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] dest) throws IOException
read
in class InputStream
IOException
public int read(byte[] dest, int offset, int length) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public void mark(int readLimit)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
public long getPosition()
Copyright © 2016. All rights reserved.