File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
Properties file dynamic value
Joined: Jul 10, 2007
Sep 05, 2007 09:54:00
I have a properties file. I want to add dynamic value. Example
101=Error 'DYNAMIC VALUE' stoping application.
How can I do this with in Java?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Sep 05, 2007 12:30:00
A properties file is just a bunch of text lines - each containing a name and a value.
How the program interprets the value is up to the programmer. Properties files are usually read just once - when the program starts - if you want different behaviour you will have to program it.
Java Resources at
Joined: Jan 29, 2003
Sep 05, 2007 14:39:00
Are you looking to replace the text DYNAMIC VALUE with a message you make up at runtime? Look at the
doc. In recent JREs also look at
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Properties file dynamic value
adding dynamic value to properties file.
Configuration files - Best Practice?
Junit problem, how to load a properties file
Generating dynamic log file with dynamic file name
Dynamic Field Validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013