Uses of Class javax.activation.CommandInfo (Java SE 10 & JDK 10 )

## Uses of Class
javax.activation.CommandInfo

- Packages that use CommandInfo
  Package | Description
  --- | ---
  javax.activation |

- - ### Uses of CommandInfo in javax.activation

    Methods in javax.activation that return CommandInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract CommandInfo[]` | CommandMap.`getAllCommands​(String mimeType)` | Get all the available commands for this type.
    `CommandInfo[]` | CommandMap.`getAllCommands​(String mimeType, DataSource ds)` | Get all the available commands for this type.
    `CommandInfo[]` | DataHandler.`getAllCommands()` | Return all the commands for this type of data.
    `CommandInfo[]` | MailcapCommandMap.`getAllCommands​(String mimeType)` | Get all the available commands in all mailcap files known to this instance of MailcapCommandMap for this MIME type.
    `abstract CommandInfo` | CommandMap.`getCommand​(String mimeType, String cmdName)` | Get the default command corresponding to the MIME type.
    `CommandInfo` | CommandMap.`getCommand​(String mimeType, String cmdName, DataSource ds)` | Get the default command corresponding to the MIME type.
    `CommandInfo` | DataHandler.`getCommand​(String cmdName)` | Get the command cmdName.
    `CommandInfo` | MailcapCommandMap.`getCommand​(String mimeType, String cmdName)` | Get the command corresponding to `cmdName` for the MIME type.
    `abstract CommandInfo[]` | CommandMap.`getPreferredCommands​(String mimeType)` | Get the preferred command list from a MIME Type.
    `CommandInfo[]` | CommandMap.`getPreferredCommands​(String mimeType, DataSource ds)` | Get the preferred command list from a MIME Type.
    `CommandInfo[]` | DataHandler.`getPreferredCommands()` | Return the preferred commands for this type of data.
    `CommandInfo[]` | MailcapCommandMap.`getPreferredCommands​(String mimeType)` | Get the preferred command list for a MIME Type.

    Methods in javax.activation with parameters of type CommandInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | DataHandler.`getBean​(CommandInfo cmdinfo)` | A convenience method that takes a CommandInfo object and instantiates the corresponding command, usually a JavaBean component.