%Net.MIMEReader
class %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)
- DecodeBase64()
- DecodeHeader()
- DecodeQP()
- OpenFile()
- OpenStream()
- ReadMIMEBody()
- ReadMIMEMessage()
- readBody()
- readHeader()
Properties (Including Private)
property buffer as %String [ Private ];
Current buffer for stream input.
Property methods: bufferDisplayToLogical(), bufferGet(), bufferIsValid(), bufferLogicalToDisplay(), bufferLogicalToOdbc(), bufferNormalize(), bufferSet()
property inputStream as %RegisteredObject [ Private ];
Stream containing the MIME message.
Declared as %RegisteredObject to prevent auto create of serial object.
Property methods: inputStreamGet(), inputStreamGetSwizzled(), inputStreamIsValid(), inputStreamNewObject(), inputStreamSet()
property pos as %Integer [ Private ];
Position of next input to process in the stream buffer
Property methods: posDisplayToLogical(), posGet(), posIsValid(), posLogicalToDisplay(), posNormalize(), posSet()
property 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 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 [ Language = objectscript ]
Open stream that contains the MIME message.
method ReadMIMEBody(message As %Net.MIMEPart) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
Read the body of the current message part.
method readHeader(Output message As %Net.MIMEPart, isMultiPart As %Boolean) as %Status [ Language = objectscript ]
Read the headers of the current message part and create the %Net.MIMEPart.
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()