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

Method toASCIIString

Ports/CLDC11/src/java/net/URI.java:678–688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

676 ///
677 /// the uri as a string with parts encoded.
678 public String toASCIIString() {
679 StringBuffer buffer = new StringBuffer();
680 if (scheme != null) {
681 buffer.append(scheme + SCHEME_SEPARATOR);
682 }
683 buffer.append(getRawSchemeSpecificPart());
684 if (fragment != null) {
685 buffer.append(FRAGMENT_SEPARATOR + getRawFragment());
686 }
687 return buffer.toString();
688 }
689
690 /// Create a relative URI object against this URI, given the uri parameter.
691 ///

Callers 1

toStringMethod · 0.95

Calls 4

appendMethod · 0.95
getRawFragmentMethod · 0.95
toStringMethod · 0.95

Tested by

no test coverage detected