cryptix.asn1.encoding
public class PackageProperties extends Object
Copyright ©1997, 1998, 1999
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1 $
Field Summary | |
---|---|
static boolean | GLOBAL_DEBUG |
Method Summary | |
---|---|
static int | getLevel(String label)
Returns the debug level for a given class.
User indicates this by setting the numeric property with key
"
If this property is not set, " |
static PrintWriter | getOutput()
Returns the PrintWriter to which tracing and debugging output is to
be sent.
User indicates this by setting the property with key
By default or if the set value is not allowed, |
static String | getProperty(String key) Returns the value of a property for this algorithm. |
static String | getProperty(String key, String value)
Returns the value of a property for this algorithm, or return
value if the property was not set. |
static boolean | isTraceable(String label)
Returns true if tracing is requested for a given class.
User indicates this by setting the tracing |
static void | list(PrintStream out) Lists algorithm properties to the PrintStream out. |
static void | list(PrintWriter out) Lists algorithm properties to the PrintWriter out. |
static Enumeration | propertyNames() |
User indicates this by setting the numeric property with key
"Debug.Level.label
".
If this property is not set, "Debug.Level.*
" 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.
Parameters: label The name of a class.
Returns: The required debugging level for the designated class.
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.
User indicates this by setting the tracing boolean
property for label in the (algorithm).properties
file. The property's key is "Trace.label
".
Parameters: label The name of a class.
Returns: True iff a boolean true value is set for a property with
the key Trace.label
.