Package fileLogic
Class Saver<T extends Collection<E>,E>
java.lang.Object
fileLogic.Saver<T,E>
Abstract saver class. (Under construction)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
saveCollection
(T collection, String envKey) Saves provided collection into file by environment key.
-
Constructor Details
-
Saver
Initializer of fileLogic.Saver class.- Parameters:
eClass
- Class ofE
. Should be provided due to Java's generic types restriction.
-
-
Method Details
-
saveCollection
Saves provided collection into file by environment key.- Parameters:
collection
- Current collection to saveenvKey
- Environment key to filepath
-