Package org.apache.axiom.mime

# Interface PartBlobFactory

All Known Implementing Classes:
  `PartDataHandlerBlobFactory`

public interface PartBlobFactory
Factory for the `PartBlob` instances returned by `Part.getBlob()`. This may be used to create `PartBlob` instances that wrap some other type of objects representing the content of MIME parts.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final PartBlobFactory`
  `DEFAULT`
  Default factory that creates `PartBlob` instances that lazily access the underlying content.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PartBlob`
  `createBlob(Part part)`
  Create a `PartBlob` for the given MIME part.

- ## Field Details

  - ### DEFAULT

    static final PartBlobFactory DEFAULT
    Default factory that creates `PartBlob` instances that lazily access the underlying content.

- ## Method Details

  - ### createBlob

    PartBlob createBlob(Part part)
    Create a `PartBlob` for the given MIME part.
    Parameters:
      `part` - the MIME part
    Returns:
      the blob