Package com.e1c.langtool.stat
Class TranslationProgress
java.lang.Object
com.e1c.langtool.stat.TranslationProgress
The class for representing translation progress.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new translation progress.TranslationProgress(int translatedCount) Instantiates a new translation progress.TranslationProgress(int translatedCount, Set<String> untranslatedKeys) Instantiates a new translation progress. -
Method Summary
Modifier and TypeMethodDescriptionintGets the translated count.Gets the untranslated keys.
-
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
Instantiates a new translation progress.- Parameters:
translatedCount- the translated countuntranslatedKeys- the untranslated keys, cannot benull
-
-
Method Details
-
getTranslatedCount
public int getTranslatedCount()Gets the translated count.- Returns:
- the translated count
-
getUntranslatedKeys
Gets the untranslated keys.- Returns:
- the unmodifiable collection with untranslated keys, cannot be
null
-