-
Properties file(s)
I am writing a simulation that will use a set of variables which I plan to
store externally from the code. Default values for the variables will be
stored in a properties file (File 1). For example:
File 1:
X=3
Y=7
Z=2
File 2:
Y=5
After opening and reading File 1, how could I open a SECOND properties file
(File 2) and read values to override the values read from File 1? I want
the end result to be:
X=3
Y=5
Z=2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks