What are the naming conventions for property names defined in properties files in Java? Can I use uppercase or only lowercase?
For example: bankAccountNumber or bank.account.number?
Is it defined somewhere on the internet?
Storing properties file in XML format You can store the properties file in XML format using the stored XML() method.
properties file is a simple collection of key-value pairs that can be parsed by the java. util. Properties class. Properties files are widely used for many purposes in all kinds of Java applications, often to store configuration or localization data.
Naming convention is recommended as lowercase in property file. bank.account.number
this is more appreciable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With