public class InputStreamMarkCursor extends Object
| Constructor and Description |
|---|
InputStreamMarkCursor(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(InputStream in, int markSize)
public int read()
throws IOException
IOExceptionpublic void endPoint(int delta)
public void rewind()
public void finish()
throws IOException
IOExceptionpublic void reset()
throws IOException
IOExceptionCopyright © 2001-2016 JRuby. All Rights Reserved.