Interface Savable
public interface Savable
The
Savable is an element that can be stored in a disk support,
files or databases. The save process can be launched via the method
save(ObjectOutputStream)-
Method Summary
Modifier and TypeMethodDescriptionReturns the save name of this savable object.voidsave(ObjectOutputStream oos) Writes all persistable attributes to the given stream.
-
Method Details
-
save
Writes all persistable attributes to the given stream.- Parameters:
oos- the given stream.- Throws:
IOException- save process failed
-
getSaveName
-