read.properties {properties}R Documentation

Read a Java Properties File for Use in RSB Applications

Description

Read a Java Properties File for Use in RSB Applications

Usage

read.properties(file, fields = NULL, encoding = "UTF-8")

Arguments

file

properties file, either a character string (path) or a connection

fields

subset of field names, if NULL, all fields are included

encoding

encoding of the properties file to read (default value "UTF-8")

Value

list with key-value pairs

Author(s)

Tobias Verbeke, Daan Seynaeve

See Also

write.properties for writing properties files

Examples

tf <- system.file("testFiles", "test0.properties", package = "properties")
read.properties(tf, fields = c("key2", "key3"))

[Package properties version 0.0-9 Index]