Lines Matching defs:txt
663 static boolean isValidRemoteString(String txt) {
665 if (txt != null) {
666 txt = txt.trim();
667 if (txt.startsWith(ROOT_URL)) {
668 if (txt.length() > ROOT_URL.length()) {
681 if (txt.startsWith("[")) {
682 int index = txt.indexOf("]:");
686 String address = txt.substring(1, index);
691 String portStr = txt.substring(index + 2);
702 String[] s = txt.split(":");