public class StringUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
doubleBar
Pattern to remove double bars from disjunct regex.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
createDisjunctRegexFromList(List<String> words) |
static String |
getStringFromTokens(List<Token> tokens)
Get a List of Strings and convert it into a string
separated by spaces.
|
static String |
getStringFromTokens(String[] tokens)
Get an array of Strings and convert it into a string
separated by spaces.
|
static String |
readText(BufferedReader breader)
Reads standard input text from the BufferedReader and
adds a line break mark for every line.
|
public static Pattern doubleBar
public static String getStringFromTokens(String[] tokens)
tokens - the arraypublic static String getStringFromTokens(List<Token> tokens)
tokens - the list of tokenspublic static String readText(BufferedReader breader)
breader - the buffered readerCopyright © 2015 IXA pipes. All rights reserved.