In your specific example you don’t need to escape the equals – you only need to escape it if it’s part of the key. The properties file format will treat all characters after the first unescaped equals as part of the value.
More Related Contents:
- How do you escape colon (:) in Properties file?
- Java – escape string to prevent SQL injection
- How to unescape a Java string literal in Java?
- What are all the escape characters?
- How to use Java property files?
- String.replaceAll single backslashes with double backslashes
- How can I make Java print quotes, like “Hello”?
- Read properties file outside JAR file
- Reading Properties file in Java
- How to reference another property in java.util.Properties?
- Escaping special characters in Java Regular Expressions
- Load properties file in JAR?
- How to read properties file in web application? [duplicate]
- Java Properties backslash
- Dumping a java object’s properties
- Convert International String to \u Codes in java
- Autowired Environment is null
- How can I reload properties file in Spring 4 using annotations?
- how to detect operating system language (locale) from java code
- Setting Java VM line.separator
- Multiple values in java.util.Properties
- How to read data from java properties file using Spring Boot
- How to overwrite one property in .properties without overwriting the whole file?
- Java Sorting: sort an array of objects by property, object not allowed to use Comparable
- Colorize logs in eclipse console
- Is there a way to specify a default property value in Spring XML?
- Java escape HTML
- How to pass Properties to jar from Powershell?
- How to test Classes with @ConfigurationProperties and @Autowired
- How can you escape the @ character in javadoc?