mark
Marks the present position in the stream. Subsequent calls to reset() will attempt to reposition the stream to this point. Not all character-input streams support the mark() operation.
Parameters
read Limit
the maximum limit of bytes that can be read before the mark position becomes invalid
Throws
if the stream does not support mark(), or if some other I/O error occurs