MimePart
Object Hierarchy:
Description:
All known sub-classes:
Namespace: Camel
Package: camel-1.2
Content:
Properties:
- public string content_id { get; set; }
- public string content_md5 { get; set; }
- public string description { get; set; }
- public string disposition { get; set; }
Creation methods:
- public MimePart ()
Create a new MIME part.
Methods:
- public bool construct_content_from_parser (MimeParser mp, Cancellable? cancellable = null) throws Error
Constructs the contnet of this from the given mime parser.
- public async bool construct_from_parser (MimeParser parser, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously constructs a MIME part from a parser.
- public virtual bool construct_from_parser_sync (MimeParser parser, Cancellable? cancellable = null) throws Error
Constructs a MIME part from a parser.
- public unowned ContentDisposition? get_content_disposition ()
Get the disposition of the MIME part as a structure.
- public unowned string? get_content_id ()
Get the content-id field of a MIME part.
- public unowned List<string>? get_content_languages ()
Get the Content-Languages set on the MIME part.
- public unowned string? get_content_location ()
Get the content-location field of a MIME part.
- public unowned string? get_content_md5 ()
Get the content-md5 field of the MIME part.
- public unowned ContentType? get_content_type ()
Get the Content-Type of a MIME part.
- public unowned string? get_description ()
Get the description of the MIME part.
- public unowned string? get_disposition ()
Get the disposition of the MIME part.
- public TransferEncoding get_encoding ()
Get the Content-Transfer-Encoding of a MIME part.
- public unowned string? get_filename ()
Get the filename of a MIME part.
- public void set_content (uint8[]? data, string? type)
Utility function used to set the content of a mime part object to be the provided data.
- public void set_content_id (string? contentid)
Set the content-id field on a MIME part.
- public void set_content_languages (owned List<string>? content_languages)
Set the Content-Languages field of a MIME part.
- public void set_content_location (string? location)
Set the content-location field of the MIME part.
- public void set_content_md5 (string? md5sum)
Set the content-md5 field of the MIME part.
- public void set_content_type (string? content_type)
Set the content-type on a MIME part.
- public void set_description (string description)
Set a description on the MIME part.
- public void set_disposition (string? disposition)
Set a disposition on the MIME part.
- public void set_encoding (TransferEncoding encoding)
Set the Content-Transfer-Encoding to use on a MIME part.
- public void set_filename (string? filename)
Set the filename on a MIME part.
Inherited Members:
All known members inherited from class Camel.Medium
All known members inherited from class Camel.DataWrapper
All known members inherited from class GLib.Object