public final class ImmutableProperties extends Properties
defaults| Constructor and Description |
|---|
ImmutableProperties(Properties original) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static ImmutableProperties |
copyOf(Properties properties)
Create and return a new immutable properties object identical to the one passed in.
|
Set<Map.Entry<Object,Object>> |
entrySet() |
Set<Object> |
keySet() |
void |
load(InputStream inStream) |
void |
load(Reader reader) |
void |
loadFromXML(InputStream in) |
static Properties |
of() |
static Properties |
of(Properties properties)
Deprecated.
use copyOf(Properties) instead
|
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> t) |
Object |
remove(Object key) |
Object |
setProperty(String key,
String value) |
Collection<Object> |
values() |
getProperty, getProperty, list, list, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNamespublic ImmutableProperties(Properties original)
public static Properties of()
@Deprecated public static Properties of(Properties properties)
properties is already immutable, no new object is created, the
properties object passed in as a method argument is what is returned.NullPointerException - if properties is nullpublic static ImmutableProperties copyOf(Properties properties)
properties is already immutable, no new object is created, the
properties object passed in as a method argument is what is returned.NullPointerException - if properties is nullpublic Object setProperty(String key, String value)
setProperty in class Propertiespublic void load(Reader reader)
load in class Propertiespublic void load(InputStream inStream)
load in class Propertiespublic void loadFromXML(InputStream in)
loadFromXML in class Propertiespublic void clear()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.