Package org.apache.james.mime4j.field
Class ContentTransferEncodingFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.ContentTransferEncodingFieldImpl
- All Implemented Interfaces:
ContentTransferEncodingField,ParsedField,Field
public class ContentTransferEncodingFieldImpl
extends AbstractField
implements ContentTransferEncodingField
Represents a
Content-Transfer-Encoding field.-
Field Summary
FieldsFields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField -
Method Summary
Modifier and TypeMethodDescriptionGets the encoding defined in this field.static StringGets the encoding of the given field if.Methods inherited from class org.apache.james.mime4j.field.AbstractField
getBody, getName, getNameLowerCase, getParseException, getRaw, getRawField, isValidField, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.james.mime4j.dom.field.ContentTransferEncodingField
bodyDescriptionFieldMethods inherited from interface org.apache.james.mime4j.stream.Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
getParseException, isValidField
-
Field Details
-
PARSER
-
-
Method Details
-
getEncoding
Description copied from interface:ContentTransferEncodingFieldGets the encoding defined in this field.- Specified by:
getEncodingin interfaceContentTransferEncodingField- Returns:
- the content ID or
nullif not set. - See Also:
-
getEncoding
Gets the encoding of the given field if. Returns the default7bitif not set or iffisnull.- Returns:
- the encoding.
-