Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Create and Modify Properties File Form Java Program in Text and XML Format - Example

How To Create And Modify Properties File Form Java Program In Text And XML Format - Example
Though most of the time we create and modify Properties file using text editors like notepad, word-pad or edit-plus, It’s also possible to create and edit properties file from Java program. Log4j.properties, which is used to configure Log4J based logging in Java and jdbc.properties which is used to specify configuration parameters for database connectivity using JDBC are two most common example of property file in Java. Though I have not found any real situation where I need to create properties file using Java Program but it’s always good to know about facilities available in Java API. 


This post first appeared on Javarevisited: Blog About Java Programmin, please read the originial post: here

Share the post

How to Create and Modify Properties File Form Java Program in Text and XML Format - Example

×

Subscribe to Javarevisited: Blog About Java Programmin

Get updates delivered right to your inbox!

Thank you for your subscription

×