%Net.MIMEReader
class %Net.MIMEReader extends %Library.RegisteredObject
For information on using this class, see MIME Messages.
%Net.MIMEReader inputs a MIME document and represents it by a top-level %Net.MIMEPart with multiple parts specified.Method Inventory
- DecodeBase64()
- DecodeHeader()
- DecodeQP()
- OpenFile()
- OpenStream()
- ReadMIMEBody()
- ReadMIMEMessage()
- readBody()
- readHeader()
Methods
Decode a line of the base64 encoded body.
The length of the input must be a multiple of 4.
Decode and return the MIME header value passed in input argument
according to RFC 2047.
Decode a line of the quoted printable encoded body
Open file that contains the MIME message.
method OpenStream(source As %AbstractStream) as %Status
Open stream that contains the MIME message.
method ReadMIMEBody(message As %Net.MIMEPart) as %Status
ReadMIMEBody() parses the MIME body in previously opened file or stream
and makes it the body the MIME message represented by message %Net.MIMEPart.
Headers for the MIME message are assumed to have been processed and included in message.
method ReadMIMEMessage(Output message As %Net.MIMEPart) as %Status
ReadMIMEMessage() parses the MIME message in previously opened
file or stream, and creates a %Net.MIMEPart based on this MIME message.
method readBody(message As %Net.MIMEPart, messageBoundary As %String, ByRef lastPart As %Boolean) as %Status
Read the body of the current message part.
method readHeader(Output message As %Net.MIMEPart, isMultiPart As %Boolean) as %Status
Read the headers of the current message part and create the %Net.MIMEPart.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()