MCPcopy Create free account
hub / github.com/PCGen/pcgen / getProperty

Method getProperty

code/src/java/pcgen/system/PropertyContext.java:108–115  ·  view source on GitHub ↗

Searches for the property with the specified key in this property context. The method returns null if the property is not found. @param key the property key. @return the value in this property context with the specified key value.

(String key)

Source from the content-addressed store, hash-verified

106 * @return the value in this property context with the specified key value.
107 */
108 public String getProperty(String key)
109 {
110 if (parent != null)
111 {
112 return parent.getProperty(name + '.' + key);
113 }
114 return properties.getProperty(key);
115 }
116
117 /**
118 * Functions similarly to {@code getProperty(key, defaultValue)} but

Callers 15

showOpenPartyChooserMethod · 0.95
initPropertyMethod · 0.95
getStringListMethod · 0.95
getIntMethod · 0.95
getBooleanMethod · 0.95
loadPropertiesMethod · 0.95
promptUserToOpenFileMethod · 0.95
initializeMethod · 0.95
testPartyForMethod · 0.45

Calls

no outgoing calls

Tested by 2

testPartyForMethod · 0.36