Package ru.curs.celesta.score
Class GrainSaver
java.lang.Object
ru.curs.celesta.score.GrainSaver
Persists grain to a writable resource.
- Since:
- 2019-03-10
- Author:
- Pavel Perminov (packpaul@mail.ru)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GrainSaver
public GrainSaver()
-
-
Method Details
-
save
Saves metadata content of score back to SQL-files rewriting their content.- Parameters:
score- Score to savescorePath- path to save the score to- Throws:
IOException
-
save
Saves grain to file(s).- Parameters:
grain- grain to savescorePath- path to save the grain to- Throws:
IOException
-