diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-06 08:02:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-06 08:02:52 +0300 |
| commit | 1d99762c7965d351510cfb5e08eac25e48d96038 (patch) | |
| tree | f469493e911878ab9055ccf0494211bf9015922d /src/main/java/prefs/VSSerializablePrefs.java | |
| parent | 4d35597bd92607c4d194686e20b125044506c79a (diff) | |
Modernize project structure, update Maven config, move sources, add logging config, update README and .gitignore
Diffstat (limited to 'src/main/java/prefs/VSSerializablePrefs.java')
| -rw-r--r-- | src/main/java/prefs/VSSerializablePrefs.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/main/java/prefs/VSSerializablePrefs.java b/src/main/java/prefs/VSSerializablePrefs.java new file mode 100644 index 0000000..b175b41 --- /dev/null +++ b/src/main/java/prefs/VSSerializablePrefs.java @@ -0,0 +1,37 @@ +package prefs; + +//import java.util.*; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; + +import serialize.VSSerializable; +import serialize.VSSerialize; + +/** + * The class VSSerializablePrefs, this class is used if the VSPrefs should + * be serializable. + * + * @author Paul C. Buetow + */ +public class VSSerializablePrefs extends VSPrefs implements VSSerializable { + /* (non-Javadoc) + * @see serialize.VSSerializable#serialize(serialize.VSSerialize, + * java.io.ObjectOutputStream) + */ + public synchronized void serialize(VSSerialize serialize, + ObjectOutputStream objectOutputStream) + throws IOException { + super.serialize_(serialize, objectOutputStream); + } + + /* (non-Javadoc) + * @see serialize.VSSerializable#deserialize(serialize.VSSerialize, + * java.io.ObjectInputStream) + */ + public synchronized void deserialize(VSSerialize serialize, + ObjectInputStream objectInputStream) + throws IOException, ClassNotFoundException { + super.deserialize_(serialize, objectInputStream); + } +} |
