public class MimeTypeToTransformerMapperImpl extends Object implements MimeTypeToTransformerMapper
MimeTypeToTransformerMapper
Implementation that finds mimeType matches among transformer
servicesID_KEY, MIME_TYPE_KEY
Constructor and Description |
---|
MimeTypeToTransformerMapperImpl() |
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
findMatches(Class<T> clazz,
MimeType userMimeType) |
protected org.osgi.framework.BundleContext |
getContext() |
protected org.osgi.framework.BundleContext getContext()
public <T> List<T> findMatches(Class<T> clazz, MimeType userMimeType)
findMatches
in interface MimeTypeToTransformerMapper
clazz
- The Class type of the matching servicesuserMimeType
- MimeType
objectnull
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.This work is licensed under a Creative Commons Attribution 4.0 International License.