MCPcopy Create free account
hub / github.com/M66B/FairEmail / getURL

Method getURL

app/src/main/java/javax/mail/URLName.java:388–396  ·  view source on GitHub ↗

Constructs a URL from the URLName. @return the URL @exception MalformedURLException if the URL is malformed

()

Source from the content-addressed store, hash-verified

386 * @exception MalformedURLException if the URL is malformed
387 */
388 public URL getURL() throws MalformedURLException {
389 // URL expects the file to include the separating "/"
390 String f = getFile();
391 if (f == null)
392 f = "";
393 else
394 f = "/" + f;
395 return new URL(getProtocol(), getHost(), getPort(), f);
396 }
397
398 /**
399 * Compares two URLNames. The result is true if and only if the

Callers 8

verifiedConnectMethod · 0.45
getArgumentsMethod · 0.45
onTouchEventMethod · 0.45
getTextMethod · 0.45
onTouchEventMethod · 0.45
withinParagraphMethod · 0.45
onClickMethod · 0.45
onClickMethod · 0.45

Calls 4

getFileMethod · 0.95
getProtocolMethod · 0.95
getHostMethod · 0.95
getPortMethod · 0.95

Tested by

no test coverage detected