javax.activation
Class MailcapCommandMap
java.lang.Object
javax.activation.CommandMap
javax.activation.MailcapCommandMap
public class MailcapCommandMap
- extends CommandMap
- Version:
- $Rev: 376811 $ $Date: 2006-02-10 11:40:13 -0800 (Fri, 10 Feb 2006) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailcapCommandMap
public MailcapCommandMap()
MailcapCommandMap
public MailcapCommandMap(String fileName)
throws IOException
- Throws:
IOException
MailcapCommandMap
public MailcapCommandMap(InputStream is)
addMailcap
public void addMailcap(String mail_cap)
getPreferredCommands
public CommandInfo[] getPreferredCommands(String mimeType)
- Specified by:
getPreferredCommands
in class CommandMap
getAllCommands
public CommandInfo[] getAllCommands(String mimeType)
- Specified by:
getAllCommands
in class CommandMap
getCommand
public CommandInfo getCommand(String mimeType,
String cmdName)
- Specified by:
getCommand
in class CommandMap
createDataContentHandler
public DataContentHandler createDataContentHandler(String mimeType)
- Specified by:
createDataContentHandler
in class CommandMap
Copyright © 2006 Apache Software Foundation. All Rights Reserved.