Package org.apache.axiom.om.impl.builder
Class AttachmentsMimePartProvider
- java.lang.Object
-
- org.apache.axiom.om.impl.builder.AttachmentsMimePartProvider
-
- All Implemented Interfaces:
MimePartProvider
public class AttachmentsMimePartProvider extends Object implements MimePartProvider
-
-
Constructor Summary
Constructors Constructor Description AttachmentsMimePartProvider(org.apache.axiom.attachments.Attachments attachments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataHandler
getDataHandler(String contentID)
Get theDataHandler
for the MIME part identified by a given content ID.
-
-
-
Method Detail
-
getDataHandler
public DataHandler getDataHandler(String contentID) throws IOException
Description copied from interface:MimePartProvider
Get theDataHandler
for the MIME part identified by a given content ID.- Specified by:
getDataHandler
in interfaceMimePartProvider
- Parameters:
contentID
- a content ID referenced in anxop:Include
element- Returns:
- the
DataHandler
for the MIME part identified by the content ID; may not benull
- Throws:
IOException
- if an error occurred while loading the part
-
-