Interface Swift_Encoder

Implemented bySwift_Encoder_Base64Encoder, Swift_Encoder_QpEncoder, Swift_Encoder_Rfc2231Encoder, Swift_Mime_ContentEncoder, Swift_Mime_ContentEncoder_Base64ContentEncoder, Swift_Mime_ContentEncoder_QpContentEncoder, Swift_Mime_HeaderEncoder, Swift_Mime_HeaderEncoder_Base64HeaderEncoder, Swift_Mime_HeaderEncoder_QpHeaderEncoder

Interface for all Encoder schemes.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
charsetChanged() Notify this observer that the entity's charset has changed. Swift_Mime_CharsetObserver
encodeString() Encode a given string to produce an encoded string. Swift_Encoder

Method Details

encodeString() public abstract method

Encode a given string to produce an encoded string.

public abstract string encodeString ( $string, $firstLineOffset 0, $maxLineLength 0 )
$string string
$firstLineOffset int

If first line needs to be shorter

$maxLineLength int
  • 0 indicates the default length for this encoding