Package | Description |
---|---|
javax.activation |
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.
|
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, 2015, Oracle and/or its affiliates. All rights reserved.