diff --git a/app/src/main/java/lightcontainer/storage/JsonRepository.java b/app/src/main/java/lightcontainer/storage/JsonRepository.java new file mode 100644 index 0000000..a002404 --- /dev/null +++ b/app/src/main/java/lightcontainer/storage/JsonRepository.java @@ -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; + } +} diff --git a/app/src/main/java/lightcontainer/storage/Repository.java b/app/src/main/java/lightcontainer/storage/Repository.java new file mode 100644 index 0000000..79f19fd --- /dev/null +++ b/app/src/main/java/lightcontainer/storage/Repository.java @@ -0,0 +1,8 @@ +package lightcontainer.storage; + +public interface Repository { + + void save(String fileName, AppData data); + + AppData load(String fileName); +}