java:properties:avoid-escaping-characters
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| java:properties:avoid-escaping-characters [2020/08/18 16:56] – odefta | java:properties:avoid-escaping-characters [2023/07/04 16:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Avoid escaping characters in java Properties class ====== | ====== Avoid escaping characters in java Properties class ====== | ||
| - | After calling the **store** method, all the special characters from the key values will be escaped by \ | + | After calling the **store** method, all the special characters from the key values will be escaped by \ \\ |
| - | Ex: instead of :test= we'll have in the properties file \:test\= | + | Ex: instead of :test= we'll have in the properties file \: |
| To avoid this we need to override the store method: | To avoid this we need to override the store method: | ||
java/properties/avoid-escaping-characters.1597769801.txt.gz · Last modified: (external edit)
