Method getProperty(String key)
Return type:
java.lang.String
Member of:
java.util.Properties
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
path = new File(props.getProperty("filename"));
2
return new CD(p.getProperty("artist"), p.getProperty("album"));
3
setTime(properties.getProperty("time"));
4
decorator = properties.getProperty("decorator");
5
path = props.getProperty("filename")
6
String interval = properties.getProperty("interval");
7
String superclasses_str = attributes.getProperty( "superclasses" );
8
+ "\nBean columns: " + session.getProperty("db.columns")
9
logSql = "true".equalsIgnoreCase(props.getProperty("logsql"));
10
String connectionString = PropertyManager.getGroup("config").getProperty("db_connection_string");
11
realm = properties.getProperty("realm");
12
url = new URL(properties_.getProperty("codebase"));
13
return Float.parseFloat(getProperty(s));
14
String value = props.getProperty(name);
15
String value = source.getProperty(key);
16
String s = props.getProperty(key);
17
return new Boolean(getProperty(LOG_ABANDONED)).booleanValue();
18
for (Enumeration enumeration = properties.keys(); enumeration.hasMoreElements(); extendedproperties.setProperty(s, properties.getProperty(s)))
19
String driver= props.getProperty(prefix+"_driver");
20
String propValue = props.getProperty(propName);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.