public long skip (long n) throws IOException

Skips characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached.

Parameters:
n    The number of characters to skip

Returns:  The number of characters actually skipped

Exceptions:
IllegalArgumentException    If n is negative.
IOException    If an I/O error occurs