## Uses of Class
javax.activation.CommandInfo

Packages that use CommandInfo
javax.activation

### Uses of CommandInfo in javax.activation

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

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