| |
|
| java.lang.Object org.apache.commons.codec.net.RFC1522Codec org.apache.commons.codec.net.BCodec
BCodec | public BCodec()(Code) | | Default constructor.
|
decode | public String decode(String value) throws DecoderException(Code) | | Decodes a Base64 string into its original form. Escaped characters are converted back to their original
representation.
Parameters: value - Base64 string to convert into its original form original string throws: DecoderException - A decoder exception is thrown if a failure condition is encountered during the decode process. |
decode | public Object decode(Object value) throws DecoderException(Code) | | Decodes a Base64 object into its original form. Escaped characters are converted back to their original
representation.
Parameters: value - Base64 object to convert into its original form original object throws: DecoderException - A decoder exception is thrown if a failure condition is encountered during the decode process. |
encode | public String encode(String value, String charset) throws EncoderException(Code) | | Encodes a string into its Base64 form using the specified charset. Unsafe characters are escaped.
Parameters: value - string to convert to Base64 form Parameters: charset - the charset for pString Base64 string throws: EncoderException - thrown if a failure condition is encountered during the encoding process. |
encode | public String encode(String value) throws EncoderException(Code) | | Encodes a string into its Base64 form using the default charset. Unsafe characters are escaped.
Parameters: value - string to convert to Base64 form Base64 string throws: EncoderException - thrown if a failure condition is encountered during the encoding process. |
encode | public Object encode(Object value) throws EncoderException(Code) | | Encodes an object into its Base64 form using the default charset. Unsafe characters are escaped.
Parameters: value - object to convert to Base64 form Base64 object throws: EncoderException - thrown if a failure condition is encountered during the encoding process. |
getDefaultCharset | public String getDefaultCharset()(Code) | | The default charset used for string decoding and encoding.
the default string charset. |
|
|
|