List of utility methods to do Text Parse
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(); ... |
String | textToPreHtml(String text) text To Pre Html return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\\t", " "); |
String | textToRLiteral(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': ... |
int | TextToValue(char c) Text To Value switch (Character.toUpperCase(c)) { case 'O': case '0': case 'W': return WHITE; case '*': case 'X': case '+': ... |