Java Utililty Methods Text Parse

List of utility methods to do Text Parse

Description

The list of methods to do Text Parse are organized into topic(s).

Method

byte[]textToNumericFormatV6(String src)
text To Numeric Format V
if (src.length() < 2) {
    return null;
int colonp;
char ch;
boolean saw_xdigit;
int val;
char[] srcb = src.toCharArray();
...
StringtextToPreHtml(String text)
text To Pre Html
return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\\t",
        "  ");
StringtextToRLiteral(String value)
text To R Literal
StringBuffer sb = new StringBuffer();
sb.append('"');
for (char c : value.toCharArray()) {
    switch (c) {
    case '"':
        sb.append("\\\"");
        break;
    case '\n':
...
intTextToValue(char c)
Text To Value
switch (Character.toUpperCase(c)) {
case 'O':
case '0':
case 'W':
    return WHITE;
case '*':
case 'X':
case '+':
...