MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / encodedPath

Method encodedPath

core/java/android/net/Uri.java:1410–1412  ·  view source on GitHub ↗

Sets the previously encoded path. If the path is not null and doesn't start with a '/', and if you specify a scheme and/or authority, the builder will prepend the given path with a '/'.

(String path)

Source from the content-addressed store, hash-verified

1408 * given path with a '/'.
1409 */
1410 public Builder encodedPath(String path) {
1411 return path(PathPart.fromEncoded(path));
1412 }
1413
1414 /**
1415 * Encodes the given segment and appends it to the path.

Callers 2

testEqualsAndHashCodeMethod · 0.80
testHierarchicalMethod · 0.80

Calls 2

pathMethod · 0.95
fromEncodedMethod · 0.95

Tested by 2

testEqualsAndHashCodeMethod · 0.64
testHierarchicalMethod · 0.64