Package org.apache.axiom.mime.activation
Class PartDataHandlerBlobFactory
java.lang.Object
org.apache.axiom.mime.activation.PartDataHandlerBlobFactory
- All Implemented Interfaces:
PartBlobFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PartDataHandlerBlobFactoryPartDataHandlerBlobFactoryinstance that creates plainPartDataHandlerinstances. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PartBlobcreateBlob(Part part) Create aPartBlobfor the given MIME part.protected abstract PartDataHandlercreateDataHandler(Part part) Create aPartDataHandlerfor the givenPart.
-
Field Details
-
DEFAULT
PartDataHandlerBlobFactoryinstance that creates plainPartDataHandlerinstances.
-
-
Constructor Details
-
PartDataHandlerBlobFactory
protected PartDataHandlerBlobFactory()
-
-
Method Details
-
createBlob
Description copied from interface:PartBlobFactoryCreate aPartBlobfor the given MIME part.- Specified by:
createBlobin interfacePartBlobFactory- Parameters:
part- the MIME part- Returns:
- the blob
-
createDataHandler
Create aPartDataHandlerfor the givenPart.- Parameters:
part- the MIME part- Returns:
- the data handler
-