public interface MimePool
A concrete implementation of this interface can be retrieved with the
instance property
| Modifier and Type | Field and Description |
|---|---|
static MimePool |
instance
The static instance of the MimePool implementation
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,String> |
getMimeTypes()
Returns the media mimeTypes registered on the application.
|
Set<String> |
getRegisteredExtensions(Plugin plugin)
Returns the file extensions registered on the specified plugin
|
Set<String> |
getRegisteredProtocols(Plugin plugin)
Returns the streaming protocols registered on the specified plugin
|
static final MimePool instance
Set<String> getRegisteredExtensions(Plugin plugin) throws PluginNotFoundException
plugin - the desired pluginPluginNotFoundExceptionSet<String> getRegisteredProtocols(Plugin plugin) throws PluginNotFoundException
plugin - the desired pluginPluginNotFoundExceptionCopyright © 2009-2013. All Rights Reserved.