C# Класс Fanx.Util.Properties

Properties is an partial implemention of java.util.Properties for .NET.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Properties() публичный Метод

Creates an empty property list with no default values.
public Properties ( ) : System
Результат System

getProperty() публичный Метод

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
Результат string

getProperty() публичный Метод

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
Результат string

load() публичный Метод

Reads a property list (key and element pairs) from the input stream.
public load ( Stream input ) : void
input Stream
Результат void