|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.NoopI18nFactory
public class NoopI18nFactory
A factory for NoopI18nHelper
objects.
Constructor Summary | |
---|---|
NoopI18nFactory()
|
Method Summary | |
---|---|
I18nHelper |
getInstance(ApplicationUser user)
Returns an I18nHelper instance associated with the provided User 's locale preference. |
I18nHelper |
getInstance(Locale locale)
Returns an I18nHelper instance associated with the provided Locale . |
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 |
---|
public NoopI18nFactory()
Method Detail |
---|
public I18nHelper getInstance(Locale locale)
I18nHelper.BeanFactory
I18nHelper
instance associated with the provided Locale
. Note that since JIRA 6.0
you can have an I18nHelper
injected directly into your class, and it will be specific to the
currently logged in user.
getInstance
in interface I18nHelper.BeanFactory
locale
- the locale in play
I18nHelper
instance associated with the provided Locale
I18nHelper
public I18nHelper getInstance(com.atlassian.crowd.embedded.api.User user)
I18nHelper.BeanFactory
I18nHelper
instance associated with the provided User
's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper
injected directly into your class, and it will be
specific to the currently logged in user.
getInstance
in interface I18nHelper.BeanFactory
user
- the user in play
I18nHelper
instance associated with the provided User
's locale preferenceI18nHelper
public I18nHelper getInstance(ApplicationUser user)
I18nHelper.BeanFactory
I18nHelper
instance associated with the provided User
's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper
injected directly into your class, and it will be
specific to the currently logged in user.
getInstance
in interface I18nHelper.BeanFactory
user
- the user in play
I18nHelper
instance associated with the provided User
's locale preferenceI18nHelper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |