com.atlassian.jira.web.action.util
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
 String getCalendarFilenameForLanguage(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 Detail

hasTranslationForLanguage

boolean hasTranslationForLanguage(String language)
Determines if a translation for a language exists

Parameters:
language - language
Returns:
true if exists, false otherwise

getCalendarFilenameForLanguage

String getCalendarFilenameForLanguage(String language)
Returns a filename of the calendar file for a given language.

Parameters:
language - language
Returns:
a filename if a translation file exists, null otherwise


Copyright © 2002-2013 Atlassian. All Rights Reserved.