| |
|
| java.lang.Object org.apache.commons.codec.net.RFC1522Codec org.apache.commons.codec.net.QCodec
QCodec | public QCodec()(Code) | | Default constructor.
|
decode | public String decode(String pString) throws DecoderException(Code) | | Decodes a quoted-printable string into its original form. Escaped characters are converted back to their original
representation.
Parameters: pString - quoted-printable 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 pObject) throws DecoderException(Code) | | Decodes a quoted-printable object into its original form. Escaped characters are converted back to their original
representation.
Parameters: pObject - quoted-printable 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 pString, String charset) throws EncoderException(Code) | | Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
Parameters: pString - string to convert to quoted-printable form Parameters: charset - the charset for pString quoted-printable string throws: EncoderException - thrown if a failure condition is encountered during the encoding process. |
encode | public String encode(String pString) throws EncoderException(Code) | | Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped.
Parameters: pString - string to convert to quoted-printable form quoted-printable string throws: EncoderException - thrown if a failure condition is encountered during the encoding process. |
encode | public Object encode(Object pObject) throws EncoderException(Code) | | Encodes an object into its quoted-printable form using the default charset. Unsafe characters are escaped.
Parameters: pObject - object to convert to quoted-printable form quoted-printable 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. |
isEncodeBlanks | public boolean isEncodeBlanks()(Code) | | Tests if optional tranformation of SPACE characters is to be used
true if SPACE characters are to be transformed, false otherwise |
setEncodeBlanks | public void setEncodeBlanks(boolean b)(Code) | | Defines whether optional tranformation of SPACE characters is to be used
Parameters: b - true if SPACE characters are to be transformed, false otherwise |
|
|
|