/** * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped. * * @param pString * string to convert to quoted-printable form * @return quoted-printable string * * @throws EncoderException * thrown if a failure condition is encountered during the encoding process. */ public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }
/** * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped. * * @param pString * string to convert to quoted-printable form * @return quoted-printable string * * @throws EncoderException * thrown if a failure condition is encountered during the encoding process. */ public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }
/** * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped. * * @param pString * string to convert to quoted-printable form * @return quoted-printable string * * @throws EncoderException * thrown if a failure condition is encountered during the encoding process. */ public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }
/** * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped. * * @param pString * string to convert to quoted-printable form * @return quoted-printable string * * @throws EncoderException * thrown if a failure condition is encountered during the encoding process. */ public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }
/** * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped. * * @param pString * string to convert to quoted-printable form * @return quoted-printable string * * @throws EncoderException * thrown if a failure condition is encountered during the encoding process. */ public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }
/** * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped. * * @param pString * string to convert to quoted-printable form * @return quoted-printable string * * @throws EncoderException * thrown if a failure condition is encountered during the encoding process. */ public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }