

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. | |
Definition at line 190 of file CharsetDetector.class.php.
| 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.
| 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.
Definition at line 222 of file CharsetDetector.class.php.
| CharsetStreamAnalyzer::putchar | ( | $ | charToPut | ) |
Analyze one character.
Send character to stream.
| charToPut | Character to send to stream. |
Implements IInputStream.
Definition at line 201 of file CharsetDetector.class.php.
1.5.4