PropertiesDataSink
The PropertiesDataSink
is used to write Java property files. It can use the data object or can operate on a defined set of property values.
Configuration
Name | Type, usage constraints, defaults | Description |
---|---|---|
filename | required: paraVal default: none type: string | The name of the file the properties are written to. |
properties | optional: paraMap default: none type: string/string | The properties to be written to the file. If this option is given, the DataObject is ignored. |
Example
Write the data object to a properties file:
<dataSink type="PropertiesDataSink">
<dp:paraVal name="filename" value="file.prop" />
</dataSink>