Preference Utilities

Class PreferenceUtilities provides several helpful utility methods. These static methods are useful in situations when dealing with lists of attributes.

A preference entry can have a list associated to a key. Class Preferences offers the methods

In some scenarios these methods might be too limited.

Imagine a list of recently used files for your application. Usually such a list will be realized as a FIFO (first in, first out) list. Class PreferenceUtilities provides these static methods to manipulate these kinds of lists.

Using these utility methods, implementing a persistent list of recently used files for your application should be a straightforward tasks.