Searched refs:lastPartLooksLikeURL (Results 1 – 3 of 3) sorted by relevance
391 assertTrue(StringUtils.lastPartLooksLikeURL("http://www.google.")); in testLooksLikeURL()392 assertFalse(StringUtils.lastPartLooksLikeURL("word wo")); in testLooksLikeURL()393 assertTrue(StringUtils.lastPartLooksLikeURL("/etc/foo")); in testLooksLikeURL()394 assertFalse(StringUtils.lastPartLooksLikeURL("left/right")); in testLooksLikeURL()395 assertTrue(StringUtils.lastPartLooksLikeURL("www.goo")); in testLooksLikeURL()396 assertTrue(StringUtils.lastPartLooksLikeURL("www.")); in testLooksLikeURL()397 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A")); in testLooksLikeURL()398 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A.")); in testLooksLikeURL()399 assertTrue(StringUtils.lastPartLooksLikeURL("rtsp://foo.")); in testLooksLikeURL()400 assertTrue(StringUtils.lastPartLooksLikeURL("://")); in testLooksLikeURL()[all …]
439 public static boolean lastPartLooksLikeURL(@Nonnull final CharSequence text) { in lastPartLooksLikeURL() method in StringUtils
900 return StringUtils.lastPartLooksLikeURL(mCommittedTextBeforeComposingText); in textBeforeCursorLooksLikeURL()