CodePageInterface

PHP version: 5

Required modules: standard, spl, simplexml, dom, pcre

Required packages: autoload.php, AutoloadException.php, Printable.php, UString.php, all.php, errors.php, cast.php, Types.php, ArrayBothType.php, TypeInterface.php, ArrayIntType.php, ArrayStringType.php, BooleanType.php, ClassType.php, FloatType.php, IntType.php, NullType.php, ObjectType.php, ResourceType.php, StringType.php, CastException.php, Sortable.php, Comparable.php, Hashable.php, UTF8.php, Strings.php, Codepoints.php, Hash.php, TestUnit.php, Equality.php, Floats.php, Integers.php, IOException.php



interface it\icosaedro\io\codepage\CodePageInterface
      |  
      `--(it\icosaedro\containers\Printable)

Code page translators may implement this interface

Version: $Date: 2012/03/17 17:10:43 $

Author: Umberto Salsi <salsi@icosaedro.it>

A code page translator translates between file names given as Unicode strings and file names given as array of bytes.


{

string encode(
        it\icosaedro\utils\UString $name)

throws it\icosaedro\io\IOException

Encodes the file name to the current code page table

Parameters:
$name   Unicode name of the file.

Return: Translated file name.

Throws:

it\icosaedro\utils\UString decode(
        string $name)

throws it\icosaedro\io\IOException

Decodes the file name from current code page table

Parameters:
$name   File name to decode.

Return: Translated file name.

Throws:

string __toString()
inherited from it\icosaedro\containers\Printable

}


Generated by PHPLint Documentator