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
 java.lang.String getCalendarFilenameForLanguage(java.lang.String language)
          Returns a filename of the calendar file for a given language.
 boolean hasTranslationForLanguage(java.lang.String language)
          Determines if a translation for a language exists
 

Method Detail

hasTranslationForLanguage

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

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

getCalendarFilenameForLanguage

java.lang.String getCalendarFilenameForLanguage(java.lang.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-2010 Atlassian. All Rights Reserved.