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

Method URI

Ports/CLDC11/src/java/net/URI.java:143–151  ·  view source on GitHub ↗
(String scheme, String userInfo, String host, int port, String path, String query, String fragment)

Source from the content-addressed store, hash-verified

141 ///
142 /// - `URISyntaxException`: if any of the fragments are invalid.
143 public URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment)
144 throws URISyntaxException {
145 init();
146 setScheme(scheme);
147 setAuthority(host, port, userInfo, true);
148 setPath(path, true);
149 setQuery(query, true);
150 setFragment(fragment, true);
151 }
152
153 /// Constructor to create a new URI object. The authority, path, query and
154 /// fragment should be unencoded values - they will be encoded as required.

Callers

nothing calls this directly

Calls 8

initMethod · 0.95
setSchemeMethod · 0.95
setAuthorityMethod · 0.95
setPathMethod · 0.95
setQueryMethod · 0.95
setFragmentMethod · 0.95
setSchemeSpecificPartMethod · 0.95
parseURIMethod · 0.95

Tested by

no test coverage detected