Wrathchild
Technical User
Hi, I've read many postings & docs on doing this, but am still confused...help would be mucho appreciated
Sample data in text file:
app1name, c:\my data\app1name.mde
app2name, c:\my data\app2name.mde
app3name, c:\my data\app3name.mde
Now I would like to read this data into an array, hashmap, or whatever so I can use it in my application without hardcoding it. Below is what I currently have:
thanks!
Sample data in text file:
app1name, c:\my data\app1name.mde
app2name, c:\my data\app2name.mde
app3name, c:\my data\app3name.mde
Now I would like to read this data into an array, hashmap, or whatever so I can use it in my application without hardcoding it. Below is what I currently have:
Code:
public void initPathData() {
apps.add(new ApplicationsHolder("app1name", "c:\my data\app1name.mde"));
apps.add(new ApplicationsHolder("app2name", "c:\my data\app2name.mde"));
apps.add(new ApplicationsHolder("app3name", "c:\my data\app3name.mde));
}
thanks!