com.liferay.portal.kernel.util
Class PropertiesParamUtil

java.lang.Object
  extended bycom.liferay.portal.kernel.util.PropertiesParamUtil

public class PropertiesParamUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PropertiesParamUtil()
           
 
Method Summary
static boolean getBoolean(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param)
           
static boolean getBoolean(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param, boolean defaultValue)
           
static double getDouble(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param)
           
static double getDouble(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param, double defaultValue)
           
static int getInteger(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param)
           
static int getInteger(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param, int defaultValue)
           
static long getLong(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param)
           
static long getLong(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param, long defaultValue)
           
static java.lang.String getString(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param)
           
static java.lang.String getString(java.util.Properties props, javax.servlet.ServletRequest req, java.lang.String param, java.lang.String defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesParamUtil

public PropertiesParamUtil()
Method Detail

getBoolean

public static boolean getBoolean(java.util.Properties props,
                                 javax.servlet.ServletRequest req,
                                 java.lang.String param)

getBoolean

public static boolean getBoolean(java.util.Properties props,
                                 javax.servlet.ServletRequest req,
                                 java.lang.String param,
                                 boolean defaultValue)

getDouble

public static double getDouble(java.util.Properties props,
                               javax.servlet.ServletRequest req,
                               java.lang.String param)

getDouble

public static double getDouble(java.util.Properties props,
                               javax.servlet.ServletRequest req,
                               java.lang.String param,
                               double defaultValue)

getInteger

public static int getInteger(java.util.Properties props,
                             javax.servlet.ServletRequest req,
                             java.lang.String param)

getInteger

public static int getInteger(java.util.Properties props,
                             javax.servlet.ServletRequest req,
                             java.lang.String param,
                             int defaultValue)

getLong

public static long getLong(java.util.Properties props,
                           javax.servlet.ServletRequest req,
                           java.lang.String param)

getLong

public static long getLong(java.util.Properties props,
                           javax.servlet.ServletRequest req,
                           java.lang.String param,
                           long defaultValue)

getString

public static java.lang.String getString(java.util.Properties props,
                                         javax.servlet.ServletRequest req,
                                         java.lang.String param)

getString

public static java.lang.String getString(java.util.Properties props,
                                         javax.servlet.ServletRequest req,
                                         java.lang.String param,
                                         java.lang.String defaultValue)