APIdia Launch Partner
Top Description Interfaces Classes
module java.prefs

Package java.util.prefs


This package allows applications to store and retrieve user and system preference and configuration data. This data is stored persistently in an implementation-dependent backing store. There are two separate trees of preference nodes, one for user preferences and one for system preferences.
Since
1.4

Interface Summary

Modifier and TypeInterface and Description
public interface
NodeChangeListener

A listener for receiving preference node change events.

public interface
PreferenceChangeListener

A listener for receiving preference change events.

public interface
PreferencesFactory

A factory object that generates Preferences objects.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractPreferences

This class provides a skeletal implementation of the Preferences class, greatly easing the task of implementing it.

public class
BackingStoreException

Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.

pack-priv class
Base64

Static methods for translating Base64 encoded strings to byte arrays and vice-versa.

pack-priv class
FileSystemPreferences

Preferences implementation for Unix.

pack-priv class
FileSystemPreferencesFactory

Factory for FileSystemPreferences.

public class
InvalidPreferencesFormatException

Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per the Preferences specification.

public class
NodeChangeEvent

An event emitted by a Preferences node to indicate that a child of that node has been added or removed.

public class
PreferenceChangeEvent

An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed.

public abstract class
Preferences

A node in a hierarchical collection of preference data.

pack-priv class
XmlSupport

XML Support for java.util.prefs.