Package ddf.mime

Interface MimeTypeToTransformerMapper


public interface MimeTypeToTransformerMapper
Author:
Ashraf Barakat
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> List<T>
    findMatches(Class<T> clazz, javax.activation.MimeType mimeType)
     
  • Field Details

  • Method Details

    • findMatches

      <T> List<T> findMatches(Class<T> clazz, javax.activation.MimeType mimeType)
      Parameters:
      clazz - The Class type of the matching services
      mimeType - MimeType object
      Returns:
      all OSGi Services that match the mimeType and clazz criteria. Passing a null MimeType will return all the matching services of the service type specified in the clazz argument. If no services are matched then an empty List is returned.