| Modifier and Type | Field and Description |
|---|---|
| private static CommandMap | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract DataContentHandler | Returns: the DataContentHandler for the MIME typethe MIME type mimeType)Locate a DataContentHandler that corresponds to the MIME type. |
| public DataContentHandler | Returns: the DataContentHandler for the MIME typethe MIME type mimeType, DataSource a DataSource for the data ds)Locate a DataContentHandler that corresponds to the MIME type. |
| public abstract CommandInfo[] | Returns: the CommandInfo objects representing all the commands.the MIME type mimeType)Get all the available commands for this type. |
| public CommandInfo[] | Returns: the CommandInfo objects representing all the commands.the MIME type mimeType, DataSource a DataSource for the data ds)Get all the available commands for this type. |
| public abstract CommandInfo | Returns: the CommandInfo corresponding to the command.the MIME type mimeType, String the command name cmdName)Get the default command corresponding to the MIME type. |
| public CommandInfo | Returns: the CommandInfo corresponding to the command.the MIME type mimeType, String the command name cmdName, DataSource a DataSource for the data ds)Get the default command corresponding to the MIME type. |
| public static synchronized CommandMap | |
| public String[] | Returns: array of MIME types as strings, or null if not supportedGet all the MIME types known to this command map. |
| public abstract CommandInfo[] | Returns: the CommandInfo classes that represent the command Beans.the MIME type mimeType)Get the preferred command list from a MIME Type. |
| public CommandInfo[] | Returns: the CommandInfo classes that represent the command Beans.the MIME type mimeType, DataSource a DataSource for the data ds)Get the preferred command list from a MIME Type. |
| public static synchronized void |
| defaultCommandMap | back to summary |
|---|---|
| private static CommandMap defaultCommandMap | |
| map | back to summary |
|---|---|
| private static Map<ClassLoader, CommandMap> map | |
| CommandMap | back to summary |
|---|---|
| public CommandMap() | |
| createDataContentHandler | back to summary |
|---|---|
| public abstract DataContentHandler createDataContentHandler(String mimeType) Locate a DataContentHandler that corresponds to the MIME type. The mechanism and semantics for determining this are determined by the implementation of the particular CommandMap.
| |
| createDataContentHandler | back to summary |
|---|---|
| public DataContentHandler createDataContentHandler(String mimeType, DataSource ds) Locate a DataContentHandler that corresponds to the MIME type. The mechanism and semantics for determining this are determined by the implementation of the particular CommandMap.
The
| |
| getAllCommands | back to summary |
|---|---|
| public abstract CommandInfo[] getAllCommands(String mimeType) Get all the available commands for this type. This method should return all the possible commands for this MIME type.
| |
| getAllCommands | back to summary |
|---|---|
| public CommandInfo[] getAllCommands(String mimeType, DataSource ds) Get all the available commands for this type. This method should return all the possible commands for this MIME type.
The
| |
| getCommand | back to summary |
|---|---|
| public abstract CommandInfo getCommand(String mimeType, String cmdName) Get the default command corresponding to the MIME type.
| |
| getCommand | back to summary |
|---|---|
| public CommandInfo getCommand(String mimeType, String cmdName, DataSource ds) Get the default command corresponding to the MIME type.
The
| |
| getDefaultCommandMap | back to summary |
|---|---|
| public static synchronized CommandMap getDefaultCommandMap() Get the default CommandMap.
| |
| getMimeTypes | back to summary |
|---|---|
| public String[] getMimeTypes() Get all the MIME types known to this command map. If the command map doesn't support this operation, null is returned.
| |
| getPreferredCommands | back to summary |
|---|---|
| public abstract CommandInfo[] getPreferredCommands(String mimeType) Get the preferred command list from a MIME Type. The actual semantics are determined by the implementation of the CommandMap.
| |
| getPreferredCommands | back to summary |
|---|---|
| public CommandInfo[] getPreferredCommands(String mimeType, DataSource ds) Get the preferred command list from a MIME Type. The actual semantics are determined by the implementation of the CommandMap.
The
| |
| setDefaultCommandMap | back to summary |
|---|---|
| public static synchronized void setDefaultCommandMap(CommandMap commandMap) Set the default CommandMap. Reset the CommandMap to the default by
calling this method with
| |