Interface MimeTypePolicy

  • All Known Subinterfaces:
    MimeTypePolicy
    All Known Implementing Classes:
    FixedMimeTypePolicy

    public interface MimeTypePolicy

    Purpose:

    A MimeTypePolicy is used in conjunction with an BinaryData/CollectionMapping in order to allow customization of the mime type for a specific property at runtime rather than at design time.
    • Method Detail

      • getMimeType

        String getMimeType​(Object object)
        return a MIME type string
        Parameters:
        object - fixed non-dynamic implementors will ignore this parameter
        Returns:
        String