javax.activation
public abstract class CommandMap extends Object
| Method Summary | |
|---|---|
| abstract DataContentHandler | createDataContentHandler(String mimeType)
Returns a DataContentHandler corresponding to the MIME type. |
| abstract CommandInfo[] | getAllCommands(String mimeType)
Returns the complete list of commands for a MIME type. |
| abstract CommandInfo | getCommand(String mimeType, String cmdName)
Returns the command corresponding to the specified MIME type and
command name. |
| static CommandMap | getDefaultCommandMap()
Returns the default command map.
|
| abstract CommandInfo[] | getPreferredCommands(String mimeType)
Returns the list of preferred commands for a MIME type. |
| static void | setDefaultCommandMap(CommandMap commandMap)
Sets the default command map. |
Parameters: mimeType the MIME type
Parameters: mimeType the MIME type
Parameters: mimeType the MIME type cmdName the command name
setDefaultCommandMap.Parameters: mimeType the MIME type
Parameters: commandMap the new default command map