skip

Skips the specified number of characters in the stream. Returns
the number of characters that were skipped.

The ns parameter may be negative, even though the
skip method of the Reader superclass throws
an exception in this case. Negative values of ns cause the
stream to skip backwards. Negative return values indicate a skip
backwards. It is not possible to skip backwards past the beginning of
the string.

If the entire string has been read or skipped, then this method has
no effect and always returns 0.

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 must not
be negative, but is otherwise ignored.

close

public void close()

Closes the stream and releases any system resources associated with
it. Once the stream has been closed, further read(),
ready(), mark(), or reset() invocations will throw an IOException.
Closing a previously closed stream has no effect.