Class DefaultStrings

java.lang.Object
com.lokalized.DefaultStrings
All Implemented Interfaces:
LocaleMatcher, Strings

@ThreadSafe public class DefaultStrings extends Object implements Strings
Default implementation of a localized string provider.

It is recommended to use a single instance of this class across your entire application.

In multi-tenant systems like a web application where each user might have a different locale, your localeSupplier might return the locale specified by the current request, e.g. from a set of Locale.LanguageRange parsed from the Accept-Language header.

Author:
Mark Allen