|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xjava.security.IJCE_Properties
This is a support class providing facilities needed to load and manage properties. It is used by other classes in java.security.*; see those classes for further documentation.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
Field Summary | |
(package private) static java.lang.String |
LIB_DIRNAME
The name of the directory in which the properties file and (if applicable) native libraries are found. |
(package private) static java.lang.String |
PRODUCT_NAME
The common name for this class library. |
(package private) static java.lang.String[] |
PROPERTIES_FILES
The filename of the properties file. |
Constructor Summary | |
(package private) |
IJCE_Properties()
|
Method Summary | |
(package private) static void |
|
(package private) static java.lang.String |
getLibraryPath()
Returns the path of the library directory. |
(package private) static java.lang.String |
getProperty(java.lang.String key)
Gets the value of a property. |
(package private) static java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Gets the value of a property, or returns defaultValue if the property was not set. |
(package private) static void |
list(java.io.PrintStream out)
Lists the properties to the PrintStream out. |
(package private) static void |
list(java.io.PrintWriter out)
Lists the properties to the PrintWriter out. |
(package private) static java.util.Enumeration |
propertyNames()
Returns an enumeration of all the property names. |
(package private) static void |
save(java.io.OutputStream os,
java.lang.String comment)
Saves the properties to the OutputStream os, in the format used by java.util.Properties.save . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final java.lang.String PRODUCT_NAME
static final java.lang.String LIB_DIRNAME
static final java.lang.String[] PROPERTIES_FILES
Constructor Detail |
IJCE_Properties()
Method Detail |
static void()
static java.lang.String getLibraryPath() throws java.io.IOException
The returned path is always absolute, and ends with a file separator character (e.g. "/" on Unix).
java.io.IOException
- if an error occurred during intialization,
preventing the path from being determined.static void save(java.io.OutputStream os, java.lang.String comment)
java.util.Properties.save
. The string comment
is written as a comment in the first line of the output.static java.lang.String getProperty(java.lang.String key)
static java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
static java.util.Enumeration propertyNames()
static void list(java.io.PrintStream out)
static void list(java.io.PrintWriter out)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |