Re: Location to Save Configuration Data.
Tim Boudreau <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CA+qecRNPwe_QPKnMkW5Zz4M0oAgr6rN02-DFZNp-5hSQJnw6RQ@mail.gmail.com> |
You can really do anything you want. NbPreferences might be the best bet if it's a small amount of data. Or a json file the user can save wherever (or you save in some predefined location) - it depends if you want the data to be accessible outside the application, survive deletion of the userdir, etc. -Tim On Tue, Jul 12, 2016 at 11:08 AM, Nuwan Sameera <[email protected]> wrote: > > Hi all, > > I am developing netbeans plugin for Apache Syncope. I need to store > configuration details to repeated usage. I used .txt file to it. But it is > not proper. Please give me proper way to store configuration details > related to plugin like "SERVER URL,USER NAME, PASSWORD". > > Thanks and Regards. > Nuwan Sameera. > -- > Nuwan Sameera. > Undergraduate, > Electronic and Telecommunication Engineering, > University of Moratuwa. > -- http://timboudreau.com