|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.languages.MockLocaleManager
public class MockLocaleManager
Mock implementation of the LocaleManager to be used by tests
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.languages.LocaleManager |
---|
DEFAULT_LOCALE |
Constructor Summary | |
---|---|
MockLocaleManager()
|
Method Summary | |
---|---|
java.util.Locale |
getLocale(com.atlassian.user.User user)
|
java.util.Locale |
toLocale(java.lang.String localeString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockLocaleManager()
Method Detail |
---|
public java.util.Locale getLocale(com.atlassian.user.User user)
getLocale
in interface LocaleManager
public java.util.Locale toLocale(java.lang.String localeString)
toLocale
in interface LocaleManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |