All Known Subinterfaces:
MimeTypePolicy
All Known Implementing Classes:
AttributeMimeTypePolicy, 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 Summary

    Modifier and Type
    Method
    Description
    return a MIME type string
  • Method Details

    • getMimeType

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