|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--javax.activation.CommandMap
Command Map.
| Constructor Summary | |
CommandMap()
Create Command Map. |
|
| Method Summary | |
abstract DataContentHandler |
createDataContentHandler(java.lang.String mimeType)
Create data content handler for MIME type. |
abstract CommandInfo[] |
getAllCommands(java.lang.String mimeType)
Get all commands for a particular MIME type. |
abstract CommandInfo |
getCommand(java.lang.String mimeType,
java.lang.String cmdName)
Get command of a particular MIME type and command name. |
static CommandMap |
getDefaultCommandMap()
Get reference to default command map. |
abstract CommandInfo[] |
getPreferredCommands(java.lang.String mimeType)
Get list of preferred commands. |
static void |
setDefaultCommandMap(CommandMap commandMap)
Set the default command map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandMap()
| Method Detail |
public abstract DataContentHandler createDataContentHandler(java.lang.String mimeType)
mimeType - MIME Typepublic abstract CommandInfo[] getAllCommands(java.lang.String mimeType)
mimeType - MIME Type
public abstract CommandInfo getCommand(java.lang.String mimeType,
java.lang.String cmdName)
mimeType - MIME TypecmdName - Command namepublic static CommandMap getDefaultCommandMap()
public abstract CommandInfo[] getPreferredCommands(java.lang.String mimeType)
mimeType - MIME Typepublic static void setDefaultCommandMap(CommandMap commandMap)
commandMap - Command map to set as default, or null for default
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||