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

Method decodeString

vm/JavaAPI/src/java/net/URIHelper.java:250–256  ·  view source on GitHub ↗

Internal use only, for sources known to always be valid. @param source @param failSilently @return

(String source, boolean failSilently)

Source from the content-addressed store, hash-verified

248 * @return
249 */
250 static String decodeString(String source, boolean failSilently) {
251 try {
252 return decodeString(source);
253 } catch (URISyntaxException e) {
254 throw new IllegalArgumentException(e.getMessage());
255 }
256 }
257
258 /**
259 * A utility method to decode a string.

Callers 9

setAuthorityMethod · 0.95
setQueryMethod · 0.95
setPathMethod · 0.95
getPathMethod · 0.95
getQueryMethod · 0.95
getFragmentMethod · 0.95
getSchemeSpecificPartMethod · 0.95
getAuthorityMethod · 0.95
getUserInfoMethod · 0.95

Calls 10

writeMethod · 0.95
toBytesMethod · 0.95
parseIntMethod · 0.95
toByteArrayMethod · 0.95
getMessageMethod · 0.65
indexOfMethod · 0.65
substringMethod · 0.65
lengthMethod · 0.65
charAtMethod · 0.65
printStackTraceMethod · 0.45

Tested by

no test coverage detected