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, resetpublic SafeSeekInputStream(SeekInputStream input) throws java.io.IOException
input - the underlying input streamjava.io.IOException - if an IO error occurspublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int ofs,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long c)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic void position(long p)
throws java.io.IOException
java.io.IOExceptionpublic long position()
throws java.io.IOException
java.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.