MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getFragment

Method getFragment

vm/JavaAPI/src/java/net/URI.java:675–677  ·  view source on GitHub ↗

Get the decoded fragment (otherwise known as the "reference" or "anchor") part of the uri. The anchor marker (#) itself is not included in the result. @return the anchor part of the URI.

()

Source from the content-addressed store, hash-verified

673 * @return the anchor part of the URI.
674 */
675 public String getFragment() {
676 return URIHelper.decodeString(fragment, true);
677 }
678
679 /**
680 * Get the encoded fragment (otherwise known as the "reference" or

Callers 5

normalizeMethod · 0.95
equalsMethod · 0.95
invoke0Method · 0.45
relativizeMethod · 0.45
resolveMethod · 0.45

Calls 1

decodeStringMethod · 0.95

Tested by

no test coverage detected