@Test public void testTokenizeURLs() { logger.info("tokenizeURLs"); String text = "Test, test δοκιμή http: String expResult = "Test, test δοκιμή PREPROCESSDOC_URL test test"; String result = StringCleaner.tokenizeURLs(text); assertEquals(expResult, result); }
public static String tokenizeURLs(String text) { return PHPMethods.preg_replace(URL_PATTERN, TOKENIZED_URL, text); }
StringCleaner { public static String tokenizeURLs(String text) { return PHPMethods.preg_replace(URL_PATTERN, TOKENIZED_URL, text); } }
StringCleaner { public static String tokenizeURLs(String text) { return PHPMethods.preg_replace(URL_PATTERN, TOKENIZED_URL, text); }  }
StringCleaner { public static String tokenizeURLs(String text) { return PHPMethods.preg_replace(URL_PATTERN, TOKENIZED_URL, text); }  static String tokenizeURLs(String text); static String tokenizeSmileys(String text); static String removeExtraSpaces(String text); static String removeSymbols(String text); static String unifyTerminators(String text); static String removeAccents(String text); static String clear(String text); }
StringCleaner { public static String tokenizeURLs(String text) { return PHPMethods.preg_replace(URL_PATTERN, TOKENIZED_URL, text); }  static String tokenizeURLs(String text); static String tokenizeSmileys(String text); static String removeExtraSpaces(String text); static String removeSymbols(String text); static String unifyTerminators(String text); static String removeAccents(String text); static String clear(String text);  }