Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Mime_ContentEncoder_QpContentEncoder

Source Location: /vendors/swift/classes/Swift/Mime/ContentEncoder/QpContentEncoder.php

Class Overview

Swift_Encoder_QpEncoder
   |
   --Swift_Mime_ContentEncoder_QpContentEncoder

Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods


Inherited Variables

Inherited Methods

Class: Swift_Encoder_QpEncoder

Swift_Encoder_QpEncoder::__construct()
Creates a new QpEncoder for the given CharacterStream.
Swift_Encoder_QpEncoder::charsetChanged()
Updates the charset used.
Swift_Encoder_QpEncoder::encodeString()
Takes an unencoded string and produces a QP encoded string from it.
Swift_Encoder_QpEncoder::_encodeByteSequence()
Encode the given byte array into a verbatim QP form.
Swift_Encoder_QpEncoder::_nextSequence()
Get the next sequence of bytes to read from the char stream.
Swift_Encoder_QpEncoder::_standardize()
Make sure CRLF is correct and HT/SPACE are in valid places.

Class Details

[line 23]
Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 32]

Swift_Mime_ContentEncoder_QpContentEncoder __construct( Swift_CharacterStream $charStream, [Swift_StreamFilter $filter = null])

Creates a new QpContentEncoder for the given CharacterStream.



Tags:

access:  public


Overrides Swift_Encoder_QpEncoder::__construct() (Creates a new QpEncoder for the given CharacterStream.)

Parameters:

Swift_CharacterStream   $charStream   to use for reading characters
Swift_StreamFilter   $filter   if canonicalization should occur

[ Top ]

method encodeByteStream [line 48]

void encodeByteStream( Swift_OutputByteStream $os, Swift_InputByteStream $is, [int $firstLineOffset = 0], [int $maxLineLength = 0])

Encode stream $in to stream $out.

QP encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.




Tags:

access:  public



Implementation of:
Swift_Mime_ContentEncoder::encodeByteStream()
Encode $in to $out.

Parameters:

Swift_OutputByteStream   $os   output stream
Swift_InputByteStream   $is   input stream
int   $firstLineOffset  
int   $maxLineLength  

[ Top ]

method getName [line 112]

string getName( )

Get the name of this encoding scheme.

Returns the string 'quoted-printable'.




Tags:

access:  public



Implementation of:
Swift_Mime_ContentEncoder::getName()
Get the MIME name of this content encoding scheme.
[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:05 -0500 by phpDocumentor 1.4.3