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

Method setSchemeSpecificPart

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

Utility method - set the scheme specific part, ensuring valid format. If encode=true, then some elements will be run through the encoder (path, userinfo, query, fragment), otherwise the elements will be validated for proper encoding.

(String ssp, boolean encode)

Source from the content-addressed store, hash-verified

285 * proper encoding.
286 */
287 protected void setSchemeSpecificPart(String ssp, boolean encode) throws URISyntaxException {
288 parseSchemeSpecificPart(ssp, true);
289 }
290
291 /**
292 * Utility method - set the part, ensuring valid format. If encode=true,

Callers 1

URIMethod · 0.95

Calls 1

Tested by

no test coverage detected