Online documentation for PropertyMapper

Generated 2006-03-17

Maps a key to a value.

Description

PropertyMapper maps a string input to a string output. One may define mappings in the form ... key1=value1 key2=value2 ... You may also specify a properties file in the same format. This will be loaded as the mapping to use.

Configuration

To configure the PropertyMapper load a properties file or input the key/value mappings in the mappings property.

Usage

Set the 'input' property. This will try to match that input to any of the keys in the map set and output the corresponding value. Returns 'null' as output if no mapping is present for that input.