Package io.wcm.handler.media.format
Interface MediaFormatProviderManager
-
public interface MediaFormatProviderManagerCollects all media format definitions provided by applications viaMediaFormatProviderinterface.This interface is implemented by an OSGi services. It should be considered INTERNAL and not be used by applications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortedMap<String,SortedSet<MediaFormat>>getAllMediaFormats()Get all media format definitions deployed in the system, grouped by bundle which exposes them.SortedSet<MediaFormat>getMediaFormats(org.apache.sling.api.resource.Resource contextResource)Get all media format definitions for application.
-
-
-
Method Detail
-
getMediaFormats
SortedSet<MediaFormat> getMediaFormats(org.apache.sling.api.resource.Resource contextResource)
Get all media format definitions for application.- Parameters:
contextResource- Context resource to get media formats for- Returns:
- Media format definitions
-
getAllMediaFormats
SortedMap<String,SortedSet<MediaFormat>> getAllMediaFormats()
Get all media format definitions deployed in the system, grouped by bundle which exposes them.- Returns:
- Map with bundle name as key, set of media formats as values.
-
-