mozilla

Revision 115471 of nsIMimeConverter

  • Revision slug: nsIMimeConverter
  • Revision title: nsIMimeConverter
  • Revision id: 115471
  • Created:
  • Creator: Jcranmer
  • Is current revision? No
  • Comment page created, 111 words added

Revision Content

The nsIMimeConverter service allows you to convert headers into and out of MIME format.

{{ tbInterfaceStatus("nsIMimeConverter", "mailnews/mime/public/nsIMimeConverter.idl", "unfrozen", "Mozilla 1.9", "yes") }}

Inherits from: {{ Interface("nsISupports") }}

Implemented by: @mozilla.org/messenger/mimeconverter;1.

Method overview

 

string encodeMIMEPartIIStr(in string header, in boolean structured, in string mailCharset, in long fieldnamelen, in long encodedwordsize);
string encodeMIMEPartIIStr_UTF8(in AUTF8String header, in boolean structured, in string mailCharset, in long fieldnamelen, in long encodedwordsize);
void decodeMimeHeaderToCharPtr(in string propertyName, in string propertyValue);
string decodeMimeHeader(in string propertyName);
unsigned long B64EncoderInit(in string propertyName);
void setUint32Property(in string propertyName, in unsigned long propertyVal);
void markRead(in boolean read);
void markFlagged(in boolean flagged);

Revision Source

<p>The <code>nsIMimeConverter</code> service allows you to convert headers into and out of MIME format.</p>
<p>{{ tbInterfaceStatus("nsIMimeConverter", "mailnews/mime/public/nsIMimeConverter.idl", "unfrozen", "Mozilla 1.9", "yes") }}</p>
<p>Inherits from: {{ Interface("nsISupports") }}</p>
<p>Implemented by: <code>@mozilla.org/messenger/mimeconverter;1<span style="font-family: Verdana,Tahoma,sans-serif;">.</span></code></p>
<h2 name="Method_overview">Method overview</h2>
<p> </p>
<table class="standard-table"> <tbody>  <tr> <td><code>string <a href="#getProperty.28.29">encodeMIMEPartIIStr</a>(in string header, in boolean structured, in string mailCharset, in long fieldnamelen, in long encodedwordsize);</code></td> </tr> <tr> <td><code>string <a href="#getProperty.28.29">encodeMIMEPartIIStr_UTF8</a>(in AUTF8String header, in boolean structured, in string mailCharset, in long fieldnamelen, in long encodedwordsize);</code></td> </tr> <tr> <td><code>void <a href="#setStringProperty.28.29">decodeMimeHeaderToCharPtr</a>(in string propertyName, in string propertyValue);</code></td> </tr> <tr> <td><code>string <a href="#getStringProperty.28.29">decodeMimeHeader</a>(in string propertyName);</code></td> </tr> <tr> <td><code>unsigned long <a href="#getUint32Property.28.29">B64EncoderInit</a>(in string propertyName);</code></td> </tr> <tr> <td><code>void <a href="#setUint32Property.28.29">setUint32Property</a>(in string propertyName, in unsigned long propertyVal);</code></td> </tr> <tr> <td><code>void <a href="#markRead.28.29">markRead</a>(in boolean read);</code></td> </tr> <tr> <td><code>void <a href="#markFlagged.28.29">markFlagged</a>(in boolean flagged);</code></td> </tr> </tbody>
</table>
Revert to this revision