Decodes a string from Base64 format. No blanks or line breaks are allowed within the Base64 encoded input data. @param s A Base64 String to be decoded. @return A String containing the decoded data. @throws IllegalArgumentException If the input is not valid Base64 encoded data.
(String s)
| 193 | * @return A String containing the decoded data. |
| 194 | * @throws IllegalArgumentException If the input is not valid Base64 encoded data. */ |
| 195 | public static String decodeString (String s) { |
| 196 | return decodeString(s, false); |
| 197 | } |
| 198 | |
| 199 | public static String decodeString (String s, boolean useUrlSafeEncoding) { |
| 200 | return new String(decode(s.toCharArray(), useUrlSafeEncoding ? urlsafeMap.decodingMap : regularMap.decodingMap)); |
nothing calls this directly
no test coverage detected