Lines Matching refs:charset
52 * The default charset used for string decoding and encoding.
54 private String charset = StringEncodings.UTF8;
64 * Constructor which allows for the selection of a default charset
66 * @param charset
67 * the default string charset to use.
72 public BCodec(final String charset) {
74 this.charset = charset;
96 * Encodes a string into its Base64 form using the specified charset. Unsafe characters are escaped.
100 * @param charset
101 * the charset for pString
107 public String encode(final String value, final String charset) throws EncoderException {
112 return encodeText(value, charset);
119 * Encodes a string into its Base64 form using the default charset. Unsafe characters are escaped.
159 * Encodes an object into its Base64 form using the default charset. Unsafe characters are escaped.
205 * The default charset used for string decoding and encoding.
207 * @return the default string charset.
210 return this.charset;