|
SSJ
3.2.1
Stochastic Simulation in Java
|
This class acts as a central repository for an algorithm specific properties. More...
Static Public Member Functions | |
| static String | getProperty (String key) |
| Get the value of a property for this algorithm. More... | |
| static String | getProperty (String key, String value) |
| Get the value of a property for this algorithm, or return value if the property was not set. | |
| static void | list (PrintStream out) |
| List algorithm properties to the PrintStream out. More... | |
| static void | list (PrintWriter out) |
| List algorithm properties to the PrintWriter out. More... | |
| static Enumeration | propertyNames () |
Static Package Functions | |
| [static initializer] | |
| static boolean | isTraceable (String label) |
| Return true if tracing is requested for a given class. More... | |
| static int | getLevel (String label) |
| Return the debug level for a given class. More... | |
| static PrintWriter | getOutput () |
| Return the PrintWriter to which tracing and debugging output is to be sent. More... | |
This class acts as a central repository for an algorithm specific properties.
It reads an (algorithm).properties file containing algorithm- specific properties. When using the AES-Kit, this (algorithm).properties file is located in the (algorithm).jar file produced by the "jarit" batch/ script command.
Copyright © 1997, 1998 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.
|
staticpackage |
Return the debug level for a given class.
User indicates this by setting the numeric property with key "<code>Debug.Level.<i>label</i></code>".
If this property is not set, "<code>Debug.Level.*</code>" is looked up next. If neither property is set, or if the first property found is not a valid decimal integer, then this method returns 0.
| label | The name of a class. |
|
staticpackage |
Return the PrintWriter to which tracing and debugging output is to be sent.
User indicates this by setting the property with key Output to the literal out or err.
By default or if the set value is not allowed, System.err will be used.
|
static |
Get the value of a property for this algorithm.
|
staticpackage |
Return true if tracing is requested for a given class.
User indicates this by setting the tracing boolean property for label in the (algorithm).properties file. The property's key is "<code>Trace.<i>label</i></code>".
| label | The name of a class. |
Trace.label.
|
static |
List algorithm properties to the PrintStream out.
|
static |
List algorithm properties to the PrintWriter out.
1.8.14