setText

fun setText(newText: String)

Set a new text string to be scanned. The current scan position is reset to first().

Parameters

newText

new text to scan.


abstract fun setText(newText: CharacterIterator)

Set a new text for scanning. The current scan position is reset to first().

Parameters

newText

new text to scan.