|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.activation.CommandMap
Registry of command objects available to the system.
Constructor Summary | |
CommandMap()
|
Method Summary | |
abstract DataContentHandler |
createDataContentHandler(java.lang.String mimeType)
Returns a DataContentHandler corresponding to the MIME type. |
abstract CommandInfo[] |
getAllCommands(java.lang.String mimeType)
Returns the complete list of commands for a MIME type. |
abstract CommandInfo |
getCommand(java.lang.String mimeType,
java.lang.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(java.lang.String mimeType)
Returns the list of preferred commands for a MIME type. |
static void |
setDefaultCommandMap(CommandMap commandMap)
Sets 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 static CommandMap getDefaultCommandMap()
setDefaultCommandMap
.
public static void setDefaultCommandMap(CommandMap commandMap)
commandMap
- the new default command mappublic abstract CommandInfo[] getPreferredCommands(java.lang.String mimeType)
mimeType
- the MIME typepublic abstract CommandInfo[] getAllCommands(java.lang.String mimeType)
mimeType
- the MIME typepublic abstract CommandInfo getCommand(java.lang.String mimeType, java.lang.String cmdName)
mimeType
- the MIME typecmdName
- the command namepublic abstract DataContentHandler createDataContentHandler(java.lang.String mimeType)
mimeType
- the MIME type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |