Uses of Interface
org.apache.james.mime4j.dom.field.ContentTypeField
Packages that use ContentTypeField
-
Uses of ContentTypeField in org.apache.james.mime4j.field
Classes in org.apache.james.mime4j.field that implement ContentTypeFieldModifier and TypeClassDescriptionclass
Represents aContent-Type
field.class
Represents aContent-Type
field.Fields in org.apache.james.mime4j.field with type parameters of type ContentTypeFieldModifier and TypeFieldDescriptionstatic final FieldParser
<ContentTypeField> ContentTypeFieldImpl.PARSER
static final FieldParser
<ContentTypeField> ContentTypeFieldLenientImpl.PARSER
Methods in org.apache.james.mime4j.field that return ContentTypeFieldModifier and TypeMethodDescriptionstatic ContentTypeField
Fields.contentType
(String contentType) Creates a Content-Type field from the specified raw field value.static ContentTypeField
Fields.contentType
(String mimeType, Iterable<NameValuePair> parameters) Creates a Content-Type field from the specified MIME type and parameters.static ContentTypeField
Fields.contentType
(String mimeType, Map<String, String> parameters) Creates a Content-Type field from the specified MIME type and parameters.static ContentTypeField
Fields.contentType
(String mimeType, NameValuePair... parameters) Creates a Content-Type field from the specified MIME type and parameters.Methods in org.apache.james.mime4j.field with parameters of type ContentTypeFieldModifier and TypeMethodDescriptionstatic String
ContentTypeFieldImpl.getCharset
(ContentTypeField f) Gets the value of thecharset
parameter if set for the given field.static String
ContentTypeFieldImpl.getMimeType
(ContentTypeField child, ContentTypeField parent) Gets the MIME type defined in the child's Content-Type field or derives a MIME type from the parent if child isnull
or hasn't got a MIME type value set. -
Uses of ContentTypeField in org.apache.james.mime4j.message
Methods in org.apache.james.mime4j.message that return ContentTypeFieldModifier and TypeMethodDescriptionprivate ContentTypeField
DefaultMessageWriter.getContentType
(Multipart multipart) private ContentTypeField
AbstractEntity.getContentTypeField()
Methods in org.apache.james.mime4j.message with parameters of type ContentTypeFieldModifier and TypeMethodDescriptionprotected abstract String
AbstractEntity.calcCharset
(ContentTypeField contentType) protected String
BodyPart.calcCharset
(ContentTypeField contentType) protected String
MessageImpl.calcCharset
(ContentTypeField contentType) protected abstract String
AbstractEntity.calcMimeType
(ContentTypeField child, ContentTypeField parent) protected String
BodyPart.calcMimeType
(ContentTypeField child, ContentTypeField parent) protected String
MessageImpl.calcMimeType
(ContentTypeField child, ContentTypeField parent) private ByteSequence
DefaultMessageWriter.getBoundary
(ContentTypeField contentType)