Système de synchronisation de l'information entre FileFrontEnd<>StorBackEnd -> création de Repository et JsonRepository

This commit is contained in:
Maximilien LEDOUX 2022-03-05 17:00:05 +01:00
parent 5e95cee500
commit 28fded5763
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,15 @@
package lightcontainer.storage;
public class JsonRepository implements Repository {
@Override
public void save(String fileName, AppData data) {
}
@Override
public AppData load(String fileName) {
return null;
}
}

View File

@ -0,0 +1,8 @@
package lightcontainer.storage;
public interface Repository {
void save(String fileName, AppData data);
AppData load(String fileName);
}