Class CalcStandardStatistics

java.lang.Object
java.lang.Thread
org.omegat.core.threads.LongProcessThread
org.omegat.core.statistics.CalcStandardStatistics
All Implemented Interfaces:
Runnable

public class CalcStandardStatistics extends LongProcessThread
Thread for calculate standard statistics.

Calculation requires two different tags stripping: one for calculate unique and remaining, and second for calculate number of words and chars.

Number of words/chars calculation requires to just strip all tags, protected parts, placeholders(see StatCount.java).

Calculation of unique and remaining also requires to just strip all tags, protected parts, placeholders for standard calculation.

  • Constructor Details

    • CalcStandardStatistics

      public CalcStandardStatistics(StatisticsPanel callback)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread