Encodes a string into Base64 format. No blanks or line breaks are inserted. @param s A String to be encoded. @return A String containing the Base64 encoded data.
(String s)
| 75 | * @param s A String to be encoded. |
| 76 | * @return A String containing the Base64 encoded data. */ |
| 77 | public static String encodeString (String s) { |
| 78 | return encodeString(s, false); |
| 79 | } |
| 80 | |
| 81 | /** Encodes a string into Base64 format, optionally using URL-safe encoding instead of the "regular" Base64 encoding. No blanks |
| 82 | * or line breaks are inserted. |
no test coverage detected