La classe dispone dei metodi:
public int getLineNumber()
public void setLineNumber(int lineNumber)

Dovresti aiutarti principalmente usando il primo, in quanto la documentazione dice espressamente:
...
Note however, that setLineNumber(int) does not actually change the current position in the stream; it only changes the value that will be returned by getLineNumber()