public class SeekableByteArrayInputStream extends java.io.ByteArrayInputStream implements SeekableInput
| Constructor and Description |
|---|
SeekableByteArrayInputStream(byte[] buf) |
SeekableByteArrayInputStream(byte[] buf,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginThreadAccess() |
void |
endThreadAccess() |
long |
getAbsolutePosition() |
java.io.InputStream |
getInputStream() |
long |
getLength() |
void |
seekAbsolute(long absolutePosition) |
void |
seekEnd() |
void |
seekRelative(long relativeOffset) |
available, close, mark, markSupported, read, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitavailable, close, mark, markSupported, read, read, read, reset, skippublic SeekableByteArrayInputStream(byte[] buf)
public SeekableByteArrayInputStream(byte[] buf,
int offset,
int length)
public void seekAbsolute(long absolutePosition)
seekAbsolute in interface SeekableInputpublic void seekRelative(long relativeOffset)
seekRelative in interface SeekableInputpublic void seekEnd()
seekEnd in interface SeekableInputpublic long getAbsolutePosition()
getAbsolutePosition in interface SeekableInputpublic long getLength()
getLength in interface SeekableInputpublic java.io.InputStream getInputStream()
getInputStream in interface SeekableInputpublic void beginThreadAccess()
beginThreadAccess in interface SeekableInputpublic void endThreadAccess()
endThreadAccess in interface SeekableInput