@Deprecated public class UserProperties extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
DEFAULT_PROPERTIES_NAME
Deprecated.
|
| Constructor and Description |
|---|
UserProperties()
Deprecated.
|
UserProperties(Properties properties,
boolean readOnly)
Deprecated.
Copy constructor.
|
UserProperties(UserProperties copy)
Deprecated.
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Properties |
getProperties()
Deprecated.
|
String |
getProperty(String name)
Deprecated.
|
UserProperty |
getUserProperty(String name)
Deprecated.
|
boolean |
hasProperty(String name)
Deprecated.
|
boolean |
isReadOnly(String name)
Deprecated.
Tests if a property is read-only.
|
Iterator<String> |
propertyNameIterator()
Deprecated.
|
void |
putAll(Properties ups)
Deprecated.
|
void |
putAll(UserProperties ups)
Deprecated.
|
String |
removeProperty(String name)
Deprecated.
|
UserProperty |
removeUserProperty(String name)
Deprecated.
|
void |
setProperty(String name,
String value)
Deprecated.
|
void |
setUserProperty(String name,
UserProperty value)
Deprecated.
|
int |
size()
Deprecated.
|
String |
toString()
Deprecated.
|
public UserProperties()
public UserProperties(Properties properties, boolean readOnly)
properties - PropertiesreadOnly - specifies whether the copied properties should be marked
as read-only or not.public UserProperties(UserProperties copy)
copy - the properties to create the copy frompublic void putAll(UserProperties ups)
public void putAll(Properties ups)
public UserProperty getUserProperty(String name)
public void setUserProperty(String name, UserProperty value)
public UserProperty removeUserProperty(String name)
public boolean isReadOnly(String name)
name - Stringpublic Properties getProperties()
public boolean hasProperty(String name)
public void setProperty(String name, String value) throws UserPropertyReadOnlyException
UserPropertyReadOnlyExceptionpublic String removeProperty(String name) throws UserPropertyReadOnlyException
UserPropertyReadOnlyExceptionpublic int size()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.