|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MimePool
Utility interface to get the file types associated with browser plugins.
A concrete implementation of this interface can be retrieved with the
instance property
| Field Summary | |
|---|---|
static MimePool |
instance
The static instance of the MimePool implementation |
| Method Summary | |
|---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getMimeTypes()
Returns the media mimeTypes registered on the application. |
java.util.Set<java.lang.String> |
getRegisteredExtensions(Plugin plugin)
Returns the file extensions registered on the specified plugin |
java.util.Set<java.lang.String> |
getRegisteredProtocols(Plugin plugin)
Returns the streaming protocols registered on the specified plugin |
| Field Detail |
|---|
static final MimePool instance
| Method Detail |
|---|
java.util.Set<java.lang.String> getRegisteredExtensions(Plugin plugin)
throws PluginNotFoundException
plugin - the desired plugin
PluginNotFoundException
java.util.Set<java.lang.String> getRegisteredProtocols(Plugin plugin)
throws PluginNotFoundException
plugin - the desired plugin
PluginNotFoundExceptionjava.util.HashMap<java.lang.String,java.lang.String> getMimeTypes()
bstplayer.media.mimeTypes property file.
The map is filled as mimeType,file-extension value pairs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||