# Uses of Class
org.apache.axiom.mime.ContentType

Packages that use ContentType
Package
Description
org.apache.axiom.mime
Contains interfaces for MIME message processing.
org.apache.axiom.om.format.xop
org.apache.axiom.om.impl
org.apache.axiom.util.activation
Contains utility classes to work with the Java Activation Framework.

- ## Uses of ContentType in org.apache.axiom.mime

  Methods in org.apache.axiom.mime that return ContentType
  Modifier and Type
  Method
  Description
  `ContentType`
  ContentType.Builder.`build()`
  Build the `ContentType` object.
  `ContentType`
  MultipartBody.`getContentType()`
  `ContentType`
  Part.`getContentType()`
  Get the content type of this part.
  Methods in org.apache.axiom.mime with parameters of type ContentType
  Modifier and Type
  Method
  Description
  `MultipartBody.Builder`
  MultipartBody.Builder.`setContentType(ContentType contentType)`
  `void`
  MultipartBodyWriter.`writePart(Blob blob, ContentType contentType, ContentTransferEncoding contentTransferEncoding, String contentID, List<Header> extraHeaders)`
  Write a MIME part.
  `OutputStream`
  MultipartBodyWriter.`writePart(ContentType contentType, ContentTransferEncoding contentTransferEncoding, String contentID, List<Header> extraHeaders)`
  Start writing a MIME part.

- ## Uses of ContentType in org.apache.axiom.om.format.xop

  Methods in org.apache.axiom.om.format.xop that return ContentType
  Modifier and Type
  Method
  Description
  `ContentType`
  ContentTypeProvider.`getContentType(Blob blob)`
  Determine the content type to use for a MIME part.
  Methods in org.apache.axiom.om.format.xop with parameters of type ContentType
  Modifier and Type
  Method
  Description
  `ContentTransferEncoding`
  CombinedContentTransferEncodingPolicy.`getContentTransferEncoding(Blob blob, ContentType contentType)`
  `ContentTransferEncoding`
  ContentTransferEncodingPolicy.`getContentTransferEncoding(Blob blob, ContentType contentType)`
  Determine the content transfer encoding to use for a MIME part.

- ## Uses of ContentType in org.apache.axiom.om.impl

  Methods in org.apache.axiom.om.impl that return ContentType
  Modifier and Type
  Method
  Description
  `ContentType`
  OMMultipartWriter.`getRootPartContentType()`
  Get the content type of the root part, as determined by the `OMOutputFormat` passed to the constructor of this object.
  Methods in org.apache.axiom.om.impl with parameters of type ContentType
  Modifier and Type
  Method
  Description
  `OutputStream`
  OMMultipartWriter.`writePart(ContentType contentType, String contentID)`
  Start writing an attachment part of the MIME package.
  `OutputStream`
  OMMultipartWriter.`writePart(ContentType contentType, String contentID, List<Header> extraHeaders)`
  Start writing an attachment part of the MIME package.

- ## Uses of ContentType in org.apache.axiom.util.activation

  Methods in org.apache.axiom.util.activation that return ContentType
  Modifier and Type
  Method
  Description
  `ContentType`
  DataHandlerContentTypeProvider.`getContentType(Blob blob)`