org.apertereports.util
Class VaadinUtil

java.lang.Object
  extended by org.apertereports.util.VaadinUtil

public final class VaadinUtil
extends Object

Created by IntelliJ IDEA.

Author:
tlipski@bluesoft.net.pl

Method Summary
static String getValue(String key)
          Returns value for given key from ui-message.properties file or another localized ui-message properties file.
static String getValue(String key, Object... params)
           
static
<T> T
nvl(T... values)
           
static void setThreadLocale(Locale l)
           
static void unsetThreadLocale()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setThreadLocale

public static void setThreadLocale(Locale l)

unsetThreadLocale

public static void unsetThreadLocale()

getValue

public static String getValue(String key,
                              Object... params)

getValue

public static String getValue(String key)
Returns value for given key from ui-message.properties file or another localized ui-message properties file. If the key given is null, then an empty string is returned

Parameters:
key - Key
Returns:
Value for given key

nvl

public static <T> T nvl(T... values)


Copyright © 2011-2013. All Rights Reserved.