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

Method toASCIIString

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

@return the uri as a string with parts encoded.

()

Source from the content-addressed store, hash-verified

765 * @return the uri as a string with parts encoded.
766 */
767 public String toASCIIString() {
768 StringBuffer buffer = new StringBuffer();
769 if (scheme != null) {
770 buffer.append(scheme + SCHEME_SEPARATOR);
771 }
772 buffer.append(getRawSchemeSpecificPart());
773 if (fragment != null) {
774 buffer.append(FRAGMENT_SEPARATOR + getRawFragment());
775 }
776 return buffer.toString();
777 }
778
779 /**
780 * Create a relative URI object against this URI, given the uri parameter.

Callers 8

toStringMethod · 0.95
getDefaultPortMethod · 0.45
getProtocolMethod · 0.45
getFileMethod · 0.45
toStringMethod · 0.45
toExternalFormMethod · 0.45
openConnectionMethod · 0.45
invoke0Method · 0.45

Calls 4

appendMethod · 0.95
getRawFragmentMethod · 0.95
toStringMethod · 0.95

Tested by

no test coverage detected