CharsetStreamAnalyzer Class Reference
[CharsetDetector]

This class analyzes text to detect its charset. More...

Inheritance diagram for CharsetStreamAnalyzer:

Inheritance graph
[legend]
Collaboration diagram for CharsetStreamAnalyzer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 addWeightMap ($charsetName, $charWeightMap)
 Add weight map for new charset or overwrite an existing one.
 getCharsetWeightMap ()
 This method return results of analyse.
 putchar ($charToPut)
 Analyze one character.


Detailed Description

This class analyzes text to detect its charset.

Definition at line 190 of file CharsetDetector.class.php.


Member Function Documentation

CharsetStreamAnalyzer::addWeightMap ( charsetName,
charWeightMap 
)

Add weight map for new charset or overwrite an existing one.

Add weight map for new charset or overwrite an existing one.

Parameters:
charsetName Name of charset to define.
charWeightMap Weight map's data. Format is character => weight.

Implements ICharWeightMapList.

Definition at line 214 of file CharsetDetector.class.php.

CharsetStreamAnalyzer::getCharsetWeightMap (  ) 

This method return results of analyse.

Returns:
Return CharsetWeightMap object containg results.

Definition at line 222 of file CharsetDetector.class.php.

CharsetStreamAnalyzer::putchar ( charToPut  ) 

Analyze one character.

Send character to stream.

Parameters:
charToPut Character to send to stream.

Implements IInputStream.

Definition at line 201 of file CharsetDetector.class.php.


The documentation for this class was generated from the following file:
Generated on Sat Mar 8 10:26:43 2008 for Dudka.cz by  doxygen 1.5.4