summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/activation/CommandMap.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/activation/CommandMap.java')
-rw-r--r--libjava/classpath/javax/activation/CommandMap.java29
1 files changed, 14 insertions, 15 deletions
diff --git a/libjava/classpath/javax/activation/CommandMap.java b/libjava/classpath/javax/activation/CommandMap.java
index fd749612a30..dbe80a9520e 100644
--- a/libjava/classpath/javax/activation/CommandMap.java
+++ b/libjava/classpath/javax/activation/CommandMap.java
@@ -39,7 +39,7 @@ package javax.activation;
/**
* Registry of command objects available to the system.
- *
+ *
* @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
* @version 1.1
*/
@@ -47,9 +47,9 @@ public abstract class CommandMap
{
/* Class scope */
-
+
private static CommandMap defaultCommandMap;
-
+
/**
* Returns the default command map.
* This returns a MailcapCommandMap if no value has been set using
@@ -63,7 +63,7 @@ public abstract class CommandMap
}
return defaultCommandMap;
}
-
+
/**
* Sets the default command map.
* @param commandMap the new default command map
@@ -90,19 +90,19 @@ public abstract class CommandMap
}
/* Instance scope */
-
+
/**
* Returns the list of preferred commands for a MIME type.
* @param mimeType the MIME type
*/
public abstract CommandInfo[] getPreferredCommands(String mimeType);
-
+
/**
* Returns the complete list of commands for a MIME type.
* @param mimeType the MIME type
*/
public abstract CommandInfo[] getAllCommands(String mimeType);
-
+
/**
* Returns the command corresponding to the specified MIME type and
* command name.
@@ -110,13 +110,13 @@ public abstract class CommandMap
* @param cmdName the command name
*/
public abstract CommandInfo getCommand(String mimeType, String cmdName);
-
+
/**
* Returns a DataContentHandler corresponding to the MIME type.
* @param mimeType the MIME type
*/
public abstract DataContentHandler createDataContentHandler(String mimeType);
-
+
/**
* Get all the MIME types known to this command map.
* If the command map doesn't support this operation, null is returned.
@@ -127,7 +127,7 @@ public abstract class CommandMap
{
return null;
}
-
+
/**
* Get the preferred command list from a MIME Type. The actual semantics
* are determined by the implementation of the CommandMap.
@@ -147,7 +147,7 @@ public abstract class CommandMap
{
return getPreferredCommands(mimeType);
}
-
+
/**
* Get all the available commands for this type. This method
* should return all the possible commands for this MIME type.
@@ -166,7 +166,7 @@ public abstract class CommandMap
{
return getAllCommands(mimeType);
}
-
+
/**
* Get the default command corresponding to the MIME type.
* <p>
@@ -186,7 +186,7 @@ public abstract class CommandMap
{
return getCommand(mimeType, cmdName);
}
-
+
/**
* Locate a DataContentHandler that corresponds to the MIME type.
* The mechanism and semantics for determining this are determined
@@ -206,7 +206,6 @@ public abstract class CommandMap
DataSource ds)
{
return createDataContentHandler(mimeType);
- }
+ }
}
-
OpenPOWER on IntegriCloud