propertiesFile( fname, [maplet|map]... )

Renders the specified maps and maplets as a plain text Java properties file fname, returning a URL object for the written page.

Each maplet is written with it's key and value separated by an = character. Each maplet of a specified map is written in the same way. To keep things simple, the characters #!=: and the ASCII space are always escaped if they appear in the key or value.

:-) propertiesFile( "sample", "hello" ==> "there", newMap( { "key", "value" } ) );
About to render to .../output/sample.properties
There is 1 result
/sample.properties
:-) propertiesFile( "sample.ext", "hello" ==> "there", 1 ==> 2 );
About to render to .../output/sample.ext
There is 1 result
/sample.ext
:-) propertiesFile( "nonascii", " hello " ==> "\tthere", "\•" ==> "\ " );
About to render to .../output/nonascii.properties
There is 1 result
/nonascii.properties
      

The contents of that last properties file would be:

\ hello\ =\tthere
\u2022=\u00a0