com.atlassian.jira.util
Class NoopI18nFactory

java.lang.Object
  extended by com.atlassian.jira.util.NoopI18nFactory
All Implemented Interfaces:
I18nHelper.BeanFactory

public class NoopI18nFactory
extends Object
implements I18nHelper.BeanFactory

A factory for NoopI18nHelper objects.

Since:
v4.0

Constructor Summary
NoopI18nFactory()
           
 
Method Summary
 I18nHelper getInstance(Locale locale)
          Returns an I18nHelper instance associated with the provided Locale
 I18nHelper getInstance(User user)
          Returns an I18nHelper instance associated with the provided User's locale preference
 I18nHelper getInstance(com.atlassian.crowd.embedded.api.User user)
          Returns an I18nHelper instance associated with the provided User's locale preference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopI18nFactory

public NoopI18nFactory()
Method Detail

getInstance

public I18nHelper getInstance(Locale locale)
Description copied from interface: I18nHelper.BeanFactory
Returns an I18nHelper instance associated with the provided Locale

Specified by:
getInstance in interface I18nHelper.BeanFactory
Parameters:
locale - the locale in play
Returns:
an I18nHelper instance associated with the provided Locale

getInstance

public final I18nHelper getInstance(User user)
Description copied from interface: I18nHelper.BeanFactory
Returns an I18nHelper instance associated with the provided User's locale preference

Specified by:
getInstance in interface I18nHelper.BeanFactory
Parameters:
user - the user in play
Returns:
an I18nHelper instance associated with the provided User's locale preference

getInstance

public I18nHelper getInstance(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: I18nHelper.BeanFactory
Returns an I18nHelper instance associated with the provided User's locale preference

Specified by:
getInstance in interface I18nHelper.BeanFactory
Parameters:
user - the user in play
Returns:
an I18nHelper instance associated with the provided User's locale preference


Copyright © 2002-2011 Atlassian. All Rights Reserved.