Package ddf.mime
Interface MimeTypeToTransformerMapper
public interface MimeTypeToTransformerMapper
- Author:
- Ashraf Barakat
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> List<T>findMatches(Class<T> clazz, javax.activation.MimeType mimeType)
-
Field Details
-
MIME_TYPE_KEY
- See Also:
-
ID_KEY
- See Also:
-
-
Method Details
-
findMatches
- Parameters:
clazz- The Class type of the matching servicesmimeType-MimeTypeobject- Returns:
- all OSGi Services that match the mimeType and clazz criteria. Passing a
nullMimeTypewill return all the matching services of the service type specified in the clazz argument. If no services are matched then an emptyListis returned.
-