| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.aplu.nxt.platform.NxtProperties
public class NxtProperties
Class to read properties from the NxtJLib property file.
 Many library options are defined in a property file 'nxtjlib.properties' that
 may be modified as needed.
 Consult the distributed file for more information.
| Constructor Summary | |
|---|---|
NxtProperties()
Searches the property file 'nxtjlib.properties' in subdirectory 'res' and, if not found, in subdirectory 'ch/aplu/nxt/properties' of the jar file.  | 
|
| Method Summary | |
|---|---|
 double | 
getDoubleValue(java.lang.String key)
Gets the property value with the given key as double.  | 
 int | 
getIntValue(java.lang.String key)
Gets the property value with the given key as int.  | 
 java.lang.String | 
getResourceInfo()
Returns empty string.  | 
 java.lang.String | 
getStringValue(java.lang.String key)
Gets the property value with the given key as string.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NxtProperties()
| Method Detail | 
|---|
public java.lang.String getResourceInfo()
public java.lang.String getStringValue(java.lang.String key)
key - the key of the property
public int getIntValue(java.lang.String key)
key - the key of the property
public double getDoubleValue(java.lang.String key)
key - the key of the property
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||