%Net.MIMEReader extends %Library.RegisteredObject
%Net.MIMEReader inputs a MIME document and represents by a top level %Net.MIMEPart
with multiple parts specified.
Property Inventory (Including Private)
Method Inventory (Including Private)
Properties (Including Private)
buffer as %String [ Private ];
Current buffer for stream input.
Property methods: bufferDisplayToLogical(), bufferGet(), bufferIsValid(), bufferLogicalToDisplay(), bufferLogicalToOdbc(), bufferNormalize(), bufferSet()
Stream containing the MIME message.
Declared as %RegisteredObject to prevent auto create of serial object.
Property methods: inputStreamGet(), inputStreamGetSwizzled(), inputStreamIsValid(), inputStreamNewObject(), inputStreamSet()
Position of next input to process in the stream buffer
Property methods: posDisplayToLogical(), posGet(), posIsValid(), posLogicalToDisplay(), posNormalize(), posSet()
previousCR as %Boolean [ Private ];
If true, previous line ended in CR which was discarded
Property methods: previousCRDisplayToLogical(), previousCRGet(), previousCRIsValid(), previousCRLogicalToDisplay(), previousCRNormalize(), previousCRSet()
Methods (Including Private)
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
according to RFC 2047.
Decode a line of the quoted printable encoded body
Open file that contains the MIME message.
Open stream that contains the MIME message.
ReadMIMEBody(message As as %Net.MIMEPart) %Status
parses the MIME body in previously opened file or stream
and makes it the body the MIME message represented by
Headers for the MIME message are assumed to have been processed and included in
parses the MIME message in previously opened
file or stream, and creates a %Net.MIMEPart based on this MIME message.
readBody(message As as %Net.MIMEPart, messageBoundary As %String, ByRef lastPart As %Boolean) %Status
Read the body of the current message part.
Read the headers of the current message part and create the %Net.MIMEPart.
Inherited Methods (Including Private)