StringReader.mark
Class Overview | Class Members |
This Package |
All Packages
public void mark( int readAheadLimit ) throws IOException
Parameters
- readAheadLimit
- Limit on the number of characters that may be
read while still preserving the mark. Because
the stream's input comes from a string, there
is no actual limit, so this argument is ignored.
Description
Mark the present position in the stream. Subsequent calls to reset()
will reposition the stream to this point.
Exceptions
IOException
If an I/O error occurs
Overrides
mark in class Reader