diff --git a/source/src/main/java/one/nem/lacerta/source/file/FileManager.java b/source/src/main/java/one/nem/lacerta/source/file/FileManager.java index 908b6c9c..93dea306 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/FileManager.java +++ b/source/src/main/java/one/nem/lacerta/source/file/FileManager.java @@ -20,6 +20,9 @@ public interface FileManager { boolean isReadable(); Document readXml(); + // Configure + FileManager enableAutoCreate(); + FileManager setRootDir(Path rootDir); FileManager setPath(Path path); FileManager setPath(String path); diff --git a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java index 6df95e32..847e1758 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java +++ b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java @@ -32,6 +32,7 @@ public class FileManagerImpl implements FileManager { // variables private Path rootDir; private Path path; + private boolean autoCreate = false; // Injection @@ -99,6 +100,11 @@ public class FileManagerImpl implements FileManager { return null; } + @Override + public FileManager enableAutoCreate() { + return null; + } + @Override public FileManager setRootDir(Path rootDir) { this.rootDir = rootDir;