Home | History | Annotate | Download | only in field

Lines Matching refs:encoding

25  * Represents a <code>Content-Transfer-Encoding</code> field.

32 * The <code>7bit</code> encoding.
36 * The <code>8bit</code> encoding.
40 * The <code>binary</code> encoding.
44 * The <code>quoted-printable</code> encoding.
48 * The <code>base64</code> encoding.
52 private String encoding;
54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) {
56 this.encoding = encoding;
60 * Gets the encoding defined in this field.
62 * @return the encoding or an empty string if not set.
65 return encoding;
69 * Gets the encoding of the given field if. Returns the default
73 * @return the encoding.
84 final String encoding = body.trim().toLowerCase();
85 return new ContentTransferEncodingField(name, body, raw, encoding);