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 PartDataHandlerBlobFactory
PartDataHandlerBlobFactory
instance that creates plainPartDataHandler
instances. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PartBlob
createBlob
(Part part) Create aPartBlob
for the given MIME part.protected abstract PartDataHandler
createDataHandler
(Part part) Create aPartDataHandler
for the givenPart
.
-
Field Details
-
DEFAULT
PartDataHandlerBlobFactory
instance that creates plainPartDataHandler
instances.
-
-
Constructor Details
-
PartDataHandlerBlobFactory
protected PartDataHandlerBlobFactory()
-
-
Method Details
-
createBlob
Description copied from interface:PartBlobFactory
Create aPartBlob
for the given MIME part.- Specified by:
createBlob
in interfacePartBlobFactory
- Parameters:
part
- the MIME part- Returns:
- the blob
-
createDataHandler
Create aPartDataHandler
for the givenPart
.- Parameters:
part
- the MIME part- Returns:
- the data handler
-