Package java.io
Class BufferedReader

Public Method mark

void mark(int readLimit)

Overrides:

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Set a mark at the current position in the input stream. Return to the marked position by calling the reset method.

The parameter readLimit specifies the Limit on the number of characters that may be read while still preserving the mark. After reading this many characters, attempting to reset the stream may fail. A limit value larger than the size of the input buffer will cause a new buffer to be allocated whose size is no smaller than limit. Therefore large values should be used with care.