FormatOptions.createNewlineFilter
gmime.filter.Filter createNewlineFilter(bool ensureNewline)Creates a #GMimeFilter suitable for converting line-endings to the currently set new-line format.
Parameters
ensureNewline | true if the output must always end with a new line |
Returns
a #GMimeFilter to convert to the specified new-line format.