or...since there's no nextChar(), look for findWithinHorizon such as

To find within the next count characters : ScannerFileJava Tutorial


p/s: learn to look for javadoc, at least google for...