Uses of Class javax.activation.CommandInfo (Java Platform SE 8 )
Date: 2020-03-26

## 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 and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `Object` | DataHandler.`getBean(CommandInfo cmdinfo)` A convenience method that takes a CommandInfo object and instantiates the corresponding command, usually a JavaBean component.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.