|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.lang.cacheBuilder.SimpleWordsScanner
public class SimpleWordsScanner
The default primitive implementation of a words scanner. The implementation does not use any lexer, breaks text into words at boundaries of sequences of English letters and treats all words as occurred in unknown context.
| Constructor Summary | |
|---|---|
SimpleWordsScanner()
|
|
| Method Summary | |
|---|---|
void |
processWords(java.lang.CharSequence fileText,
Processor<WordOccurrence> processor)
Processes the specified text fragment and passes every word in the text to the specified processor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleWordsScanner()
| Method Detail |
|---|
public void processWords(java.lang.CharSequence fileText,
Processor<WordOccurrence> processor)
WordsScanner
processWords in interface WordsScannerfileText - the text to break into words.processor - the processor which accepts the words in the text.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||