Class PreferencesEncoder<T extends Enum<T>>

java.lang.Object
com.cryptoalgo.codable.preferencesCoder.PreferencesEncoder<T>
Type Parameters:
T - Type of enum of codingKeys to be used during encoding
All Implemented Interfaces:
Encoder<T>, KeyedEncodingContainer<T>

public final class PreferencesEncoder<T extends Enum<T>> extends Object implements Encoder<T>, KeyedEncodingContainer<T>
Built-in encoder implementation which writes data to non-volatile storage through Java's Preferences module.

Implications: Limitations to Java's Preferences module also apply here, most notably that large amounts of data shouldn't be written to nodes. Doing so leads to significant performance penalties and might cause OOM errors when attempting to retrieve those keys.