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

application.properties — first linesProperties
# 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 too

File details

Size
383 B (383 bytes)
MIME type
text/x-java-properties
SHA-256
0998bf76fb8aae24d53d3deae081cbe0e9b483768620aee37e8cc73071bc7380
MD5
2304ee5092dd52c5664d34e1de204ac5

Download from the command line

curl -L -o application.properties https://files.samplefiles.com/data/properties/application.properties

Or check the download in your browser with the checksum calculator.