public class SeekableInputConstrainedWrapper
extends java.io.InputStream
| Constructor and Description |
|---|
SeekableInputConstrainedWrapper(SeekableInput in,
long offset,
long length) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
long |
getAbsolutePosition() |
java.io.InputStream |
getInputStream() |
long |
getLength() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int length) |
void |
reset() |
void |
seekAbsolute(long absolutePosition) |
void |
seekEnd() |
void |
seekRelative(long relativeOffset) |
long |
skip(long n) |
java.lang.String |
toString() |
public SeekableInputConstrainedWrapper(SeekableInput in, long offset, long length)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int available()
available in class java.io.InputStreampublic void mark(int readLimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic void seekAbsolute(long absolutePosition)
throws java.io.IOException
java.io.IOExceptionpublic void seekRelative(long relativeOffset)
throws java.io.IOException
java.io.IOExceptionpublic void seekEnd()
throws java.io.IOException
java.io.IOExceptionpublic long getAbsolutePosition()
throws java.io.IOException
java.io.IOExceptionpublic long getLength()
public java.io.InputStream getInputStream()
public java.lang.String toString()
toString in class java.lang.Object