The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Parse 'Java' Properties Files for 'R Service Bus' Applications
Version: 0.0-9
Date: 2018-03-07
Author: Tobias Verbeke, Daan Seynaeve, based on read.dcf by R Core Development Team
Maintainer: Daan Seynaeve <daan.seynaeve@openanalytics.eu>
Description: Allows to parse 'Java' properties files in the context of 'R Service Bus' applications.
URL: https://www.rservicebus.io/
License: GPL-2
Collate: 'write.properties.R' 'read.properties.R'
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2018-03-09 12:56:51 UTC; dseynaeve
Repository: CRAN
Date/Publication: 2018-03-10 16:12:20 UTC

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"))

Write a Java Properties File

Description

Write a Java Properties File

Usage

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

Arguments

file

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

properties

list with key-value pairs

fields

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

encoding

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

Value

nothing; the properties are written to file

Author(s)

Daan Seynaeve

See Also

read.properties for reading properties files

Examples

tf <- tempfile()
write.properties(file = tf,
    properties = list(key1 = "value1", key2 = "value2", key3 = "value3"),
    fields = c("key2", "key3"))
unlink(tf)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.