org.apache.servicemix.specs.activation
Class OsgiMailcapCommandMap
java.lang.Object
javax.activation.CommandMap
javax.activation.MailcapCommandMap
org.apache.servicemix.specs.activation.OsgiMailcapCommandMap
public class OsgiMailcapCommandMap
- extends MailcapCommandMap
An OSGi enabled MailcapCommandMap
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiMailcapCommandMap
public OsgiMailcapCommandMap()
addMailcap
public void addMailcap(String line,
Bundle bundle)
addCommand
protected void addCommand(Map commandList,
String mimeType,
CommandInfo command)
- Description copied from class:
MailcapCommandMap
- Add a command to a target command list (preferred or fallback).
- Overrides:
addCommand
in class MailcapCommandMap
- Parameters:
commandList
- The target command list.mimeType
- The MIME type the command is associated with.command
- The command information.
createDataContentHandler
public DataContentHandler createDataContentHandler(String mimeType)
- Overrides:
createDataContentHandler
in class MailcapCommandMap
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.