Skip to main content

Rigi Documentation

Java Properties parser

Parser ID: properties.

Parser settings:

  • Store comments (parseComments).

    Default: true.

    If the previous line contains a comment, it is stored with the next key/value pair.

  • Escape above 0x7F (EscapeAbove0x7F).

    Default: false.

    If true, all characters with codes greater than 7F are written in their escaped form.

  • Escape signatures (escapeSignatures).

    Default: true.

    Writes Rigi signatures in their escaped form.

  • Escape quotation marks (escapeQuotationMarks).

    Default: false.

    If true, writes quotation marks in their escaped form.

  • Escape double quotes (escapeDoubleQuote).

    Default: true.

    Writes double quotes in their escaped form: \"".

  • Escape ending spaces (escapeEndingSpaces).

    Default: true.

    If a string ends with spaces, each space is written in its encoded form: \u0020.

  • Escape characters (escapeCharacters).

    Defines the characters that must be escaped when written. For example, : means that the colon and semicolon must be escaped.

  • Escape to upper (escapeToUpper).

    Default: true.

    Writes all escaped forms in uppercase (e.g., \uC54C). Otherwise, writes them in lowercase (e.g., \uc54c).

  • Escape single quotes if string has variables (consecutiveSingleQuoteWithvars).

    Default: false.

    If a string contains a variable ({0}, {1}, ...), each single quote is written as two consecutive single quotes in the source and target files.

  • Preserve comments (preserveComments).

    Default: true.

    Writes comments and empty lines from the source file to the target file.

  • ANSI (Codepage 1252) (codePage1252).

    Default: false.

    By default, all files are encoded as UTF-8. Select this option to read and write the .properties files using codepage 1252 (ANSI).

  • Doublequoted values (doubleQuotedValues).

    Default: false.

    By default, a key-value pair has the following form: 'key = value'. Select this option to use the form 'key=""value""'".

For other parser settings, see the Generic parser settings article.