public class HierarchicCommandMap extends BasicCommandMap
| Constructor and Description |
|---|
HierarchicCommandMap() |
| Modifier and Type | Method and Description |
|---|---|
javax.activation.DataContentHandler |
createDataContentHandler(java.lang.String mimeType)
Locate a DataContentHandler that corresponds to the MIME type.
|
javax.activation.CommandInfo[] |
getAllCommands(java.lang.String mimeType)
Get all the available commands for this type.
|
javax.activation.CommandInfo |
getCommand(java.lang.String mimeType,
java.lang.String cmdName)
Get the default command corresponding to
the MIME type.
|
javax.activation.CommandInfo[] |
getPreferredCommands(java.lang.String mimeType)
Get the preferred command list from a MIME Type.
|
addCommand, addCommandInfo, addCommandspublic javax.activation.CommandInfo[] getPreferredCommands(java.lang.String mimeType)
getPreferredCommands in class BasicCommandMappublic javax.activation.CommandInfo[] getAllCommands(java.lang.String mimeType)
getAllCommands in class BasicCommandMappublic javax.activation.CommandInfo getCommand(java.lang.String mimeType,
java.lang.String cmdName)
getCommand in class BasicCommandMappublic javax.activation.DataContentHandler createDataContentHandler(java.lang.String mimeType)
createDataContentHandler in class BasicCommandMap