Searched refs:webAddress (Results 1 – 4 of 4) sorted by relevance
28 WebAddress webAddress = new WebAddress("http://google.com./b/c/g"); in testHostWithTrailingDot() local29 assertEquals("google.com.", webAddress.getHost()); in testHostWithTrailingDot()30 assertEquals("/b/c/g", webAddress.getPath()); in testHostWithTrailingDot()36 WebAddress webAddress = new WebAddress("http://www.myspace.com?si=1"); in testPathWithoutLeadingSlash() local37 assertEquals("www.myspace.com", webAddress.getHost()); in testPathWithoutLeadingSlash()38 assertEquals("/?si=1", webAddress.getPath()); in testPathWithoutLeadingSlash()
53 WebAddress webAddress; in guessUrl() local72 webAddress = new WebAddress(inUrl); in guessUrl()82 if (webAddress.getHost().indexOf('.') == -1) { in guessUrl()84 webAddress.setHost("www." + webAddress.getHost() + ".com"); in guessUrl()86 return webAddress.toString(); in guessUrl()
168 final WebAddress webAddress = new WebAddress(url); in DataAction() local169 mIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(webAddress.toString())); in DataAction()
1475 final WebAddress webAddress = new WebAddress(website.buildDataStringForDisplay in dataItemToEntry() local1477 intent = new Intent(Intent.ACTION_VIEW, Uri.parse(webAddress.toString())); in dataItemToEntry()