Class nsPSMDetector

java.lang.Object
org.mozilla.intl.chardet.nsPSMDetector
Direct Known Subclasses:
nsDetector

public abstract class nsPSMDetector extends Object
  • Field Details

  • Constructor Details

    • nsPSMDetector

      public nsPSMDetector()
    • nsPSMDetector

      public nsPSMDetector(int langFlag)
    • nsPSMDetector

      public nsPSMDetector(int aItems, nsVerifier[] aVerifierSet, nsEUCStatistics[] aStatisticsSet)
  • Method Details

    • Reset

      public void Reset()
    • initVerifiers

      protected void initVerifiers(int currVerSet)
    • Report

      public abstract void Report(String charset)
    • HandleData

      public boolean HandleData(byte[] aBuf, int len)
    • DataEnd

      public void DataEnd()
    • Sample

      public void Sample(byte[] aBuf, int aLen)
    • Sample

      public void Sample(byte[] aBuf, int aLen, boolean aLastChance)
    • getProbableCharsets

      public String[] getProbableCharsets()