ConfigurationParameter
keys and Object
values. The resulting configuration values are used to populate this ConfigurationParameters
class. A common usage of this method is to load a properties file into an
object and call this method to parse the properties into valid configuration parameters.
Each key must be a
or a
. The key is used as-is if it is already a
; otherwise, the
is parsed for a valid
string value.
All string comparisons and lookups are case-insensitive.
If a
key does not start with "FileNet.", the key/value pair is logged at the debug level but otherwise skipped and ignored. The entire key is then used to look up the corresponding
constant; an exception is thrown if it is not found.
The value for a valid key is then parsed. If the value is already of the required type, it is used as-is; otherwise, it is transformed into one of the required types. The type of transformation depends on the parameter and type of value. An exception is thrown if the transformation fails. An exception is also thrown if the given or transformed value is invalid for the parameter.
Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub LoadMap( _ ByVal map As IDictionary _ ) |
C# |
---|
public void LoadMap( IDictionary map ) |
C++ |
---|
public: void LoadMap( IDictionary map ) sealed |
J# |
---|
public void LoadMap( IDictionary map ) |
JScript |
---|
public
function LoadMap( map : IDictionary ) |
Parameters
- map
- An
map object containing configuration key/value pairs. Cannot beIDictionary
.Null