当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
Properties - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.server.util
Class Properties
java.lang.Object
org.jboss.portal.server.util.Properties
- public class Properties
- extends java.lang.Object
A set of multi valued properties produced by a response.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Properties
public Properties()
addProperty
public void addProperty(java.lang.String name,
java.lang.String value)
- Parameters:
name
- the property namevalue
- the property value
- Throws:
java.lang.IllegalArgumentException
- if name or value is null
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
- Parameters:
name
- the property namevalue
- the property value
- Throws:
java.lang.IllegalArgumentException
- if name or value is null
clear
public void clear()
- Clear the properties.
getProperty
public java.lang.String getProperty(java.lang.String name)
getProperties
public java.util.List getProperties(java.lang.String name)
- Parameters:
name
- the property name
- Returns:
- the list of properties for the specified name or null if it does not exist
- Throws:
java.lang.IllegalArgumentException
- if name is null
getPropertyNames
public java.util.Set getPropertyNames()