public class InputStreamMarkCursor
extends java.lang.Object
| Constructor and Description |
|---|
InputStreamMarkCursor(java.io.InputStream in,
int markSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
endPoint(int delta) |
void |
finish()
reset back to mark and then read back to endPoint to repoint stream back
to where we want next consumer of stream to start reading from.
|
int |
read() |
void |
reset() |
void |
rewind() |
public InputStreamMarkCursor(java.io.InputStream in,
int markSize)
public int read()
throws java.io.IOException
java.io.IOExceptionpublic void endPoint(int delta)
public void rewind()
public void finish()
throws java.io.IOException
java.io.IOExceptionpublic void reset()
throws java.io.IOException
java.io.IOExceptionCopyright © 2001-2021 JRuby. All Rights Reserved.