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

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