| java.lang.Object org.jboss.portlet.util.Parameters
Method Summary | |
public String | get(String key, String def) | public boolean | getBoolean(String key, boolean def) | public Boolean | getBooleanObject(String key, boolean def) | public Boolean | getBooleanObject(String key) | public byte[] | getByteArray(String key, byte[] def) | public double | getDouble(String key, double def) | public Double | getDoubleObject(String key, double defaultValue) | public Double | getDoubleObject(String key) | public float | getFloat(String key, float def) | public Float | getFloatObject(String key, float defaultValue) | public Float | getFloatObject(String key) | public int | getInt(String key, int def) | public Integer | getIntObject(String key, int defaultValue) | public Integer | getIntObject(String key) | public long | getLong(String key, long def) | public Long | getLongObject(String key, long defaultValue) | public Long | getLongObject(String key) | public String | getParameter(String name) | public boolean | getParameterExists(String param) | public short | getShort(String key, short def) | public Short | getShortObject(String key, short defaultValue) | public Short | getShortObject(String key) |
Parameters | public Parameters(Map parameterMap)(Code) | | Parameters: parameterMap - |
getBoolean | public boolean getBoolean(String key, boolean def)(Code) | | Returns the value as a boolean
Parameters: key - Key of the parameter Parameters: def - Default value if value is different from true or false boolean value for the string "true" or "false" (not sensitive to uppercase/lowercase, and leading/trailingspaces). |
getByteArray | public byte[] getByteArray(String key, byte[] def)(Code) | | |
getDouble | public double getDouble(String key, double def)(Code) | | |
getParameterExists | public boolean getParameterExists(String param)(Code) | | |
|
|