Java javax.activation MailcapCommandMap fields, constructors, methods, implement or subclass

Example usage for Java javax.activation MailcapCommandMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.activation MailcapCommandMap.

The text is from its open source code.

Constructor

MailcapCommandMap()
The default Constructor.
MailcapCommandMap(String fileName)
Constructor that allows the caller to specify the path of a mailcap file.
MailcapCommandMap(InputStream is)
Constructor that allows the caller to specify an InputStream containing a mailcap file.

Method

voidaddMailcap(String mail_cap)
Add entries to the registry.
CommandInfo[]getAllCommands(String mimeType)
Get all the available commands in all mailcap files known to this instance of MailcapCommandMap for this MIME type.
String[]getMimeTypes()
Get all the MIME types known to this command map.