Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / classes / Swift / CharacterReaderFactory.php
1 <?php
2
3 /*
4 * This file is part of SwiftMailer.
5 * (c) 2004-2009 Chris Corbyn
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 //@require 'Swift/CharacterReader.php';
12
13 /**
14 * A factory for creating CharacterReaders.
15 * @package Swift
16 * @subpackage Encoder
17 * @author Chris Corbyn
18 */
19 interface Swift_CharacterReaderFactory
20 {
21
22 /**
23 * Returns a CharacterReader suitable for the charset applied.
24 * @param string $charset
25 * @return Swift_CharacterReader
26 */
27 public function getReaderFor($charset);
28
29 }