Data · 1 file
Sample .properties File
Java .properties files are key/value configuration, as used by Spring Boot and resource bundles.
.properties · 383 B
Java .properties file
Spring-style properties with comments (# and !), escapes, \u Unicode sequences and a continued line.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample Java properties — samplefiles.com
spring.application.name=sample-app
server.port=8080
spring.datasource.url=jdbc:postgresql://db.example.internal:5432/sample
spring.datasource.username=sample
logging.level.root=INFO
message.welcome=Welcome to the app\!
message.unicode=Gr\u00fc\u00dfe
multi.line.value=first part \
second part
! Lines starting with ! are comments tooFile details
Download from the command line
curl -L -o application.properties https://files.samplefiles.com/data/properties/application.propertieswget https://files.samplefiles.com/data/properties/application.propertieshttps://files.samplefiles.com/data/properties/application.propertiesprintf '%s %s\n' 0998bf76fb8aae24d53d3deae081cbe0e9b483768620aee37e8cc73071bc7380 application.properties | shasum -a 256 -cOr check the download in your browser with the checksum calculator.