gmime.format_options
Module for [FormatOptions] class
class FormatOptions
Types 1
classFormatOptions : gobject.boxed.Boxed
Format options for serializing various GMime objects.
Methods
void addHiddenHeader(string header) nothrowAdds the given header to the list of headers that should be hidden.gmime.format_options.FormatOptions clone() nothrowClones a #GMimeFormatOptions. Returns: a newly allocated #GMimeFormatOptions.gmime.filter.Filter createNewlineFilter(bool ensureNewline) nothrowCreates a #GMimeFilter suitable for converting line-endings to the currently set new-line format.string getNewline() nothrowGets a string representing the currently set new-line format. Returns: a new-line character sequence.gmime.types.NewLineFormat getNewlineFormat() nothrowGets the new-line format to use when writing out messages and headers. Returns: the new-line format that is currently set.gmime.types.ParamEncodingMethod getParamEncodingMethod() nothrowGets the parameter encoding method to use for #GMimeParam parameters that do not already have an encoding method specified. Returns: the encoding method that is currently set.bool isHiddenHeader(string header) nothrowGets whether or not the specified header should be hidden.void removeHiddenHeader(string header) nothrowRemoves the given header from the list of headers that should be hidden.void setNewlineFormat(gmime.types.NewLineFormat newline) nothrowSets the new-line format that should be used when writing headers and messages.void setParamEncodingMethod(gmime.types.ParamEncodingMethod method) nothrowSets the parameter encoding method to use when encoding parameters which do not have an encoding method specified.gmime.format_options.FormatOptions getDefault() static nothrowGets the default format options. Returns: the default format options.