Interface LanguageGetter<T>
-
- All Known Implementing Classes:
ContentItemVersionLanguageGetter
,LanguageGetter.Dummy
public interface LanguageGetter<T>
Class that can read specific documents and determine their language.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LanguageGetter.Dummy
Dummy implementation that always returns null.
-
Field Summary
Fields Modifier and Type Field Description static LanguageGetter<Object>
DUMMY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Locale
getLanguage(T document)
Extracts the language from the given document.
-
-
-
Field Detail
-
DUMMY
static final LanguageGetter<Object> DUMMY
-
-