Class FilePreferences

java.lang.Object
java.util.prefs.Preferences
java.util.prefs.AbstractPreferences
is.codion.common.model.preferences.FilePreferences

public final class FilePreferences extends AbstractPreferences

A file-based preferences implementation without length restrictions.

Supports hierarchical preferences through nested JSON structure.

Clearing the preferences instance and flushing deletes the underlying file.

Note that, unlike the AbstractPreferences contract, PreferenceChangeListeners are not notified of put(String, String) calls.

See Also: