C# Class Fanx.Util.Properties

Properties is an partial implemention of java.util.Properties for .NET.
Afficher le fichier Open project: xored/f4 Class Usage Examples

Méthodes publiques

Méthode Description
Properties ( ) : System

Creates an empty property list with no default values.

getProperty ( string key ) : string

Searches for the property with the specified key in this property list. If the key is not found in this property list, return default value argument.

getProperty ( string key, string defVal ) : string

Searches for the property with the specified key in this property list. If the key is not found in this property list, return default value argument.

load ( Stream input ) : void

Reads a property list (key and element pairs) from the input stream.

Method Details

Properties() public méthode

Creates an empty property list with no default values.
public Properties ( ) : System
Résultat System

getProperty() public méthode

Searches for the property with the specified key in this property list. If the key is not found in this property list, return default value argument.
public getProperty ( string key ) : string
key string
Résultat string

getProperty() public méthode

Searches for the property with the specified key in this property list. If the key is not found in this property list, return default value argument.
public getProperty ( string key, string defVal ) : string
key string
defVal string
Résultat string

load() public méthode

Reads a property list (key and element pairs) from the input stream.
public load ( Stream input ) : void
input Stream
Résultat void