August 2001
Intermediate to advanced
480 pages
9h 14m
English
To be able to store and retrieve preferences persistently is a common requirement for many applications. It is also highly desirable to use a more expressive hierarchical structure than a flat property file. A treelike hierarchy can organize categories of attributes naturally. For instance, if we were to manage a user's Netscape preferences, we would have a tree with the layout presented in Figure 10.2.

Each node in the tree is named with a path similar to that of a file system. For example, /Mail/Identity refers the node that contains Joe's name and e-mail address. Different users usually have different ...
Read now
Unlock full access