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 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 AbstractField
getBody, getName, getNameLowerCase, getParseException, getRaw, getRawField, isValidField, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContentTransferEncodingField
bodyDescriptionFieldMethods inherited from interface Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface 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.
-