aspose file tools*
The moose likes Java in General and the fly likes Properties file design question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Properties file design question" Watch "Properties file design question" New topic
Author

Properties file design question

Ryan Jimmy
Greenhorn

Joined: Mar 18, 2012
Posts: 4
All,

For working with multiple input files say for example Test.txt,Test1.txt,Test2.txt should I need multiple property files or is it possible to configure in the same property file "sampleprops.xml". If I have to read multiple input files how to differentiate between them (with filenames)?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

It's entirely up to you whether you centralize your properties in a single properties file or whether you have one properties file for each input file you want to describe.

And yes, in most systems the easiest way to refer to a file is by its name. However your system may or may not follow that pattern; again, it's up to you to figure that out.

That may sound very vague, but consider the fact that all we know about your system is that it uses files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Properties file design question