public synchronized void mark(int readlimit)
public synchronized void reset() throws IOException
public boolean markSupported()
markSupported()
method returns
true
if this stream supports marking and
false
if it doesn't.
The
mark()
method places a bookmark in the stream which
you can return to later using the reset()
method.
There can be only one mark()
in the stream at any
given time. Marking a second location erases the first mark.
If
marking is not supported, these methods throw
IOException
s.