xjava.security
class IJCE_Properties extends Object
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
Field Summary | |
---|---|
static String | LIB_DIRNAME
The name of the directory in which the properties file and (if
applicable) native libraries are found. |
static String | PRODUCT_NAME
The common name for this class library. |
static String[] | PROPERTIES_FILES
The filename of the properties file. |
Method Summary | |
---|---|
static String | getLibraryPath()
Returns the path of the library directory. |
static String | getProperty(String key)
Gets the value of a property. |
static String | getProperty(String key, String defaultValue)
Gets the value of a property, or returns defaultValue if the
property was not set. |
static void | list(PrintStream out)
Lists the properties to the PrintStream out. |
static void | list(PrintWriter out)
Lists the properties to the PrintWriter out. |
static Enumeration | propertyNames()
Returns an enumeration of all the property names. |
static void | save(OutputStream os, String comment)
Saves the properties to the OutputStream os, in the format
used by java.util.Properties.save . |
The returned path is always absolute, and ends with a file separator character (e.g. "/" on Unix).
Throws: IOException if an error occurred during intialization, preventing the path from being determined.
java.util.Properties.save
. The string comment
is written as a comment in the first line of the output.