External Interfaces > Reality Java Interface > JavaDocs > JavaDocs for JReal Classes > Properties

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Reality Interface Classes: Class Properties (JReal) (properties.html)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Reality Interface Classes

com.northgateis.reality.util
Class Properties

java.lang.Object
 |
 +--java.util.Dictionary
 |
 +--java.util.Hashtable
 |
 +--java.util.Properties
 |
 +--com.northgateis.reality.util.Properties

public class Properties
extends java.util.Properties

Handles reality specific properties.

See Also:
Serialized Form

Constructor Summary
Properties()
          Create a new properties class and load it from the reality properties file (reality.properties).
 
Method Summary
 java.lang.StringgetProperty(java.lang.String key)
          Get a property.
 java.lang.StringgetProperty(java.lang.String key, java.lang.String defaultValue)
          Get a property.
 
Methods inherited from class java.util.Properties
list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
 throws java.io.IOException
Create a new properties class and load it from the reality properties file (reality.properties). This file may be located anywhere in the class path throws IOException reality.properties not found
Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)
Get a property.

Properties defined on the command line overide those set in the properties file.

Overrides:
getProperty in class java.util.Properties
Parameters:
key - key to property


getProperty

public java.lang.String getProperty(java.lang.String key,
 java.lang.String defaultValue)
Get a property.

Properties defined on the command line overide those set in the properties file.

Overrides:
getProperty in class java.util.Properties
Parameters:
key - key to property
defaultValue - value returned of key not found


Reality Interface Classes

Copyright (c) 2000 Northgate Public Services (UK) Limited

RealityV15.1 (MoTW) Revision 7Comment on this topic