com.liferay.portal.kernel.language
Class UnicodeLanguageUtil
java.lang.Object
com.liferay.portal.kernel.language.UnicodeLanguageUtil
public class UnicodeLanguageUtil
- extends Object
Method Summary |
static String |
format(Locale locale,
String pattern,
Object argument)
|
static String |
format(Locale locale,
String pattern,
Object[] arguments)
|
static String |
format(Locale locale,
String pattern,
Object[] arguments,
boolean translateArguments)
|
static String |
format(Locale locale,
String pattern,
Object argument,
boolean translateArguments)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper argument)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper[] arguments)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper[] arguments,
boolean translateArguments)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper argument,
boolean translateArguments)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object argument)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object[] arguments)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object[] arguments,
boolean translateArguments)
|
static String |
format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object argument,
boolean translateArguments)
|
static String |
format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object argument)
|
static String |
format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object[] arguments)
|
static String |
format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object[] arguments,
boolean translateArguments)
|
static String |
format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object argument,
boolean translateArguments)
|
static String |
get(Locale locale,
String key)
|
static String |
get(Locale locale,
String key,
String defaultValue)
|
static String |
get(javax.servlet.jsp.PageContext pageContext,
String key)
|
static String |
get(javax.servlet.jsp.PageContext pageContext,
String key,
String defaultValue)
|
static String |
get(PortletConfig portletConfig,
Locale locale,
String key)
|
static String |
get(PortletConfig portletConfig,
Locale locale,
String key,
String defaultValue)
|
static String |
getTimeDescription(javax.servlet.jsp.PageContext pageContext,
long milliseconds)
|
static String |
getTimeDescription(javax.servlet.jsp.PageContext pageContext,
Long milliseconds)
|
static UnicodeLanguage |
getUnicodeLanguage()
|
void |
setUnicodeLanguage(UnicodeLanguage unicodeLanguage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnicodeLanguageUtil
public UnicodeLanguageUtil()
format
public static String format(Locale locale,
String pattern,
Object argument)
format
public static String format(Locale locale,
String pattern,
Object argument,
boolean translateArguments)
format
public static String format(Locale locale,
String pattern,
Object[] arguments)
format
public static String format(Locale locale,
String pattern,
Object[] arguments,
boolean translateArguments)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper argument)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper argument,
boolean translateArguments)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper[] arguments)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
LanguageWrapper[] arguments,
boolean translateArguments)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object argument)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object argument,
boolean translateArguments)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object[] arguments)
format
public static String format(javax.servlet.jsp.PageContext pageContext,
String pattern,
Object[] arguments,
boolean translateArguments)
format
public static String format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object argument)
format
public static String format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object argument,
boolean translateArguments)
format
public static String format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object[] arguments)
format
public static String format(PortletConfig portletConfig,
Locale locale,
String pattern,
Object[] arguments,
boolean translateArguments)
get
public static String get(Locale locale,
String key)
get
public static String get(Locale locale,
String key,
String defaultValue)
get
public static String get(javax.servlet.jsp.PageContext pageContext,
String key)
get
public static String get(javax.servlet.jsp.PageContext pageContext,
String key,
String defaultValue)
get
public static String get(PortletConfig portletConfig,
Locale locale,
String key)
get
public static String get(PortletConfig portletConfig,
Locale locale,
String key,
String defaultValue)
getTimeDescription
public static String getTimeDescription(javax.servlet.jsp.PageContext pageContext,
long milliseconds)
getTimeDescription
public static String getTimeDescription(javax.servlet.jsp.PageContext pageContext,
Long milliseconds)
getUnicodeLanguage
public static UnicodeLanguage getUnicodeLanguage()
setUnicodeLanguage
public void setUnicodeLanguage(UnicodeLanguage unicodeLanguage)