public class Tokenizer extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
tokenizeLines(String text)
Splits a string up into lines, separated by semicolons or newlines.
|
static String[] |
tokenizeWords(String line)
Chops up a line of text into tokens.
|
public static String[] tokenizeLines(String text) throws UsageException
text
- input stringUsageException
public static String[] tokenizeWords(String line) throws UsageException
line
- line of textline
UsageException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.