Package java.io
Class PushbackReader

Public Method mark

void mark(int read_limit)

Overrides:

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method marks the present position in the stream. The mark for class PushbackReader always throws an exception.

Example

   File file = new File("testFile");
   Reader in = new FileReader(file);
   PushbackReader pr = new PushbackReader(in, 20);
   ...
   pr.mark(2);

The example above marks the current position in the stream.