doc / ch.tutteli.atrium.reporting.translating / PropertiesBasedTranslationSupplier / <init>

<init>

PropertiesBasedTranslationSupplier()

A base class for properties based TranslationSuppliers which provides a loading and caching mechanism of properties files.

There is no way to purge the cache. This class is intended for a one run process where translations do not change in between.

It is compatible with Java's Properties - thus properties files should also use ISO-8859-1 as encoding.

Parameters

T - Translations are grouped by a certain aspect (for instance, by Locale). T defines the type of it.