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: /**
12: * A factory for creating CharacterReaders.
13: * @package Swift
14: * @subpackage Encoder
15: * @author Chris Corbyn
16: */
17: interface Swift_CharacterReaderFactory
18: {
19: /**
20: * Returns a CharacterReader suitable for the charset applied.
21: * @param string $charset
22: * @return Swift_CharacterReader
23: */
24: public function getReaderFor($charset);
25: }
26: