Class TranslationProgress

java.lang.Object
com.e1c.langtool.stat.TranslationProgress

public final class TranslationProgress extends Object
The class for representing translation progress.
  • Constructor Details

    • TranslationProgress

      public TranslationProgress()
      Instantiates a new translation progress.
    • TranslationProgress

      public TranslationProgress(int translatedCount)
      Instantiates a new translation progress.
      Parameters:
      translatedCount - the translated count
    • TranslationProgress

      public TranslationProgress(int translatedCount, Set<String> untranslatedKeys)
      Instantiates a new translation progress.
      Parameters:
      translatedCount - the translated count
      untranslatedKeys - the untranslated keys, cannot be null
  • Method Details

    • getTranslatedCount

      public int getTranslatedCount()
      Gets the translated count.
      Returns:
      the translated count
    • getUntranslatedKeys

      public Set<String> getUntranslatedKeys()
      Gets the untranslated keys.
      Returns:
      the unmodifiable collection with untranslated keys, cannot be null