public class JProperties extends Object implements Map<String,Object>
| Modifier and Type | Class and Description |
|---|---|
class |
JProperties.JPropertiesEntry
Required to process substitutions in EntrySets.
|
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_BOOLEAN |
static int |
DEFAULT_INT |
static long |
DEFAULT_LONG |
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
JProperties() |
JProperties(Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
String |
findString(String key) |
String |
findUrl() |
Object |
findValue(String key)
This method will search up a tree of EProoperties objects, looking for
a match.
|
Object |
get(Object okey) |
boolean |
getBoolean(String key) |
boolean |
getBoolean(String key,
boolean def) |
int |
getInt(String key) |
int |
getInt(String key,
int def) |
List<String> |
getKeys() |
List |
getList(String key) |
long |
getLong(String key) |
long |
getLong(String key,
long def) |
JProperties |
getProperties(String key) |
String |
getString(String key) |
String |
getString(String key,
String def) |
String |
getUrl() |
boolean |
isEmpty() |
boolean |
isProcessInclusions() |
boolean |
isProcessSubstitutions() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
Object |
remove(Object key) |
void |
setParent(JProperties p) |
void |
setProcessInclusions(boolean processInclusions) |
void |
setProcessSubstitutions(boolean processSubstitutions) |
void |
setUrl(String s) |
int |
size() |
Properties |
toProperties()
We no longer extend Properties, but some older systems may still
want Properties.
|
Collection<Object> |
values() |
public static long DEFAULT_LONG
public static int DEFAULT_INT
public static boolean DEFAULT_BOOLEAN
public static org.apache.commons.logging.Log log
public Object findValue(String key)
key - public void setParent(JProperties p)
public void setUrl(String s)
public String getUrl()
public String findUrl()
public Properties toProperties()
public boolean isProcessSubstitutions()
public void setProcessSubstitutions(boolean processSubstitutions)
public boolean isProcessInclusions()
public void setProcessInclusions(boolean processInclusions)
public boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>public boolean getBoolean(String key)
public boolean getBoolean(String key, boolean def)
public int getInt(String key)
public int getInt(String key, int def)
public long getLong(String key)
public long getLong(String key, long def)
public JProperties getProperties(String key)
Copyright © 2014. All rights reserved.