Searched refs:lastPartLooksLikeURL (Results 1 – 3 of 3) sorted by relevance
371 assertTrue(StringUtils.lastPartLooksLikeURL("http://www.google.")); in testLooksLikeURL()372 assertFalse(StringUtils.lastPartLooksLikeURL("word wo")); in testLooksLikeURL()373 assertTrue(StringUtils.lastPartLooksLikeURL("/etc/foo")); in testLooksLikeURL()374 assertFalse(StringUtils.lastPartLooksLikeURL("left/right")); in testLooksLikeURL()375 assertTrue(StringUtils.lastPartLooksLikeURL("www.goo")); in testLooksLikeURL()376 assertTrue(StringUtils.lastPartLooksLikeURL("www.")); in testLooksLikeURL()377 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A")); in testLooksLikeURL()378 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A.")); in testLooksLikeURL()379 assertTrue(StringUtils.lastPartLooksLikeURL("rtsp://foo.")); in testLooksLikeURL()380 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()