public static java.lang.String decode(java.lang.String s)
Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using
the specified encoding scheme.
'+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte
value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".
s - the encoded string
the decoded clear-text representation of the given string
public static TextualPath decodePath(java.lang.String pathString)
Decode a path, delimited with "/" characters. Note that decoding then looking for / characters isn't completely
correct--that produces the wrong result if elements of the path contact URL encoded / characters not intended to
be path delimiters. That's one reason for this method's existence--it first finds the / characters then decodes
each element of the path, producing the correct result.
pathString - path string
TextualPath, holding a list of strings forming the elements of the path