Package io.wcm.handler.media.format
Interface MediaFormatProviderManager
-
public interface MediaFormatProviderManager
Collects all media format definitions provided by applications viaMediaFormatProvider
interface.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 java.util.SortedMap<java.lang.String,java.util.SortedSet<MediaFormat>>
getAllMediaFormats()
Get all media format definitions deployed in the system, grouped by bundle which exposes them.java.util.SortedSet<MediaFormat>
getMediaFormats(org.apache.sling.api.resource.Resource contextResource)
Get all media format definitions for application.
-
-
-
Method Detail
-
getMediaFormats
java.util.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
java.util.SortedMap<java.lang.String,java.util.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.
-
-