public class SafeSeekInputStream extends SeekInputStream
| Constructor and Description |
|---|
SafeSeekInputStream(SeekInputStream input)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
position() |
void |
position(long p) |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int ofs,
int len) |
long |
skip(long c) |
mark, markSupported, resetavailable, closepublic SafeSeekInputStream(SeekInputStream input) throws IOException
input - the underlying input streamIOException - if an IO error occurspublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf,
int ofs,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long c)
throws IOException
skip in class InputStreamIOExceptionpublic void position(long p)
throws IOException
IOExceptionpublic long position()
throws IOException
IOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.