Class CalendarLanguageUtil
- java.lang.Object
-
- com.atlassian.confluence.pages.actions.CalendarLanguageUtil
-
public class CalendarLanguageUtil extends Object
Default implementaion that reads mappings from calendar-language-util.properties file. Thank you Jira.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCalendarFilenameForLanguage(String language)
Returns a filename of the calendar file for a given language.static CalendarLanguageUtil
getInstance()
boolean
hasTranslationForLanguage(String language)
Determines if a translation for a language exists
-
-
-
Method Detail
-
getInstance
public static CalendarLanguageUtil getInstance()
-
hasTranslationForLanguage
public boolean hasTranslationForLanguage(String language)
Determines if a translation for a language exists- Parameters:
language
- language- Returns:
- true if exists, false otherwise or if given language was null
-
-