API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.activation. CommandMap View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      CommandMap
Implements
Subclasses
Description
publicabstract abstract class CommandMap
  The CommandMap class provides an interface to a registry of command objects available in the system.
See also:   
Constructors
public CommandMap ()
Methods
Hide/Show inherited methods
publicabstract DataContentHandler createDataContentHandler (String mimeType)
  Locate a DataContentHandler that corresponds to the MIME type.
public DataContentHandler createDataContentHandler (String mimeType, DataSource ds)
  Locate a DataContentHandler that corresponds to the MIME type.
publicabstract CommandInfo getAllCommands (String mimeType)
  Get all the available commands for this type.
public CommandInfo getAllCommands (String mimeType, DataSource ds)
  Get all the available commands for this type.
publicabstract CommandInfo getCommand (String mimeType, String cmdName)
  Get the default command corresponding to the MIME type.
public CommandInfo getCommand (String mimeType, String cmdName, DataSource ds)
  Get the default command corresponding to the MIME type.
publicstatic CommandMap getDefaultCommandMap ()
  Get the default CommandMap.
public String getMimeTypes ()
  Get all the MIME types known to this command map.
publicabstract CommandInfo getPreferredCommands (String mimeType)
  Get the preferred command list from a MIME Type.
public CommandInfo getPreferredCommands (String mimeType, DataSource ds)
  Get the preferred command list from a MIME Type.
publicstatic void setDefaultCommandMap (CommandMap commandMap)
  Set the default CommandMap.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar