Public Member Functions | Public Attributes

nsIMimeEmitter Interface Reference

import "nsIMimeEmitter.idl";

Collaboration diagram for nsIMimeEmitter:

List of all members.

Public Member Functions

void initialize (in nsIURI url, in nsIChannel aChannel, in long aFormat)
void complete ()
void setPipe (in nsIInputStream inputStream, in nsIOutputStream outStream)
void startHeader (in PRBool rootMailHeader, in PRBool headerOnly,[const ] in string msgID,[const ] in string outCharset)
void addHeaderField ([const ] in string field,[const ] in string value)
void addAllHeaders (in ACString allheaders)
void writeHTMLHeaders ([const ] in AUTF8String name)
 Write the HTML Headers for the current attachment.
void endHeader ([const ] in AUTF8String name)
 Finish writing the headers for the current attachment.
void updateCharacterSet ([const ] in string aCharset)
void startAttachment ([const ] in AUTF8String name,[const ] in string contentType,[const ] in string url, in PRBool aNotDownloaded)
void addAttachmentField ([const ] in string field,[const ] in string value)
void endAttachment ()
void endAllAttachments ()
void startBody (in PRBool bodyOnly,[const ] in string msgID,[const ] in string outCharset)
void writeBody ([const ] in AUTF8String buf, out PRUint32 amountWritten)
void endBody ()
void write ([const ] in ACString buf, out PRUint32 amountWritten)
void utilityWrite ([const ] in string buf)

Public Attributes

attribute nsIStreamListener outputListener

Member Function Documentation

void nsIMimeEmitter::addAllHeaders ( in ACString  allheaders  ) 
void nsIMimeEmitter::addAttachmentField ( [const ] in string  field,
[const ] in string  value 
)
void nsIMimeEmitter::addHeaderField ( [const ] in string  field,
[const ] in string  value 
)
void nsIMimeEmitter::complete (  ) 
void nsIMimeEmitter::endAllAttachments (  ) 
void nsIMimeEmitter::endAttachment (  ) 
void nsIMimeEmitter::endBody (  ) 
void nsIMimeEmitter::endHeader ( [const ] in AUTF8String  name  ) 

Finish writing the headers for the current attachment.

Parameters:
name The name of this attachment.
void nsIMimeEmitter::initialize ( in nsIURI  url,
in nsIChannel  aChannel,
in long  aFormat 
)
void nsIMimeEmitter::setPipe ( in nsIInputStream  inputStream,
in nsIOutputStream  outStream 
)
void nsIMimeEmitter::startAttachment ( [const ] in AUTF8String  name,
[const ] in string  contentType,
[const ] in string  url,
in PRBool  aNotDownloaded 
)
void nsIMimeEmitter::startBody ( in PRBool  bodyOnly,
[const ] in string  msgID,
[const ] in string  outCharset 
)
void nsIMimeEmitter::startHeader ( in PRBool  rootMailHeader,
in PRBool  headerOnly,
[const ] in string  msgID,
[const ] in string  outCharset 
)
void nsIMimeEmitter::updateCharacterSet ( [const ] in string  aCharset  ) 
void nsIMimeEmitter::utilityWrite ( [const ] in string  buf  ) 
void nsIMimeEmitter::write ( [const ] in ACString  buf,
out PRUint32  amountWritten 
)
void nsIMimeEmitter::writeBody ( [const ] in AUTF8String  buf,
out PRUint32  amountWritten 
)
void nsIMimeEmitter::writeHTMLHeaders ( [const ] in AUTF8String  name  ) 

Write the HTML Headers for the current attachment.

Note: Book case this with an EndHeader call.

Parameters:
name The name of this attachment.

Member Data Documentation


The documentation for this interface was generated from the following file: