Interface CalendarLanguageUtil
- All Known Implementing Classes:
CalendarLanguageUtilImpl
public interface CalendarLanguageUtil
Interface which defines the util that tells us if the calendar has
a translation for the provided language.
-
Method Summary
Modifier and TypeMethodDescriptiongetCalendarFilenameForLanguage
(String language) Returns a filename of the calendar file for a given language.boolean
hasTranslationForLanguage
(String language) Determines if a translation for a language exists
-
Method Details
-
hasTranslationForLanguage
Determines if a translation for a language exists- Parameters:
language
- language- Returns:
- true if exists, false otherwise
-
getCalendarFilenameForLanguage
Returns a filename of the calendar file for a given language.- Parameters:
language
- language- Returns:
- a filename if a translation file exists, null otherwise
-