mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-11-04 00:40:49 +00:00 
			
		
		
		
	configの書き込みを実装
This commit is contained in:
		
							parent
							
								
									3efaf30b95
								
							
						
					
					
						commit
						37497cb1ea
					
				@ -22,7 +22,7 @@ public interface FileManager {
 | 
				
			|||||||
    Document readXml();
 | 
					    Document readXml();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Configure
 | 
					    // Configure
 | 
				
			||||||
    FileManager enableAutoCreate();
 | 
					    FileManager enableAutoCreateParent();
 | 
				
			||||||
    FileManager disableRootDirCheck();
 | 
					    FileManager disableRootDirCheck();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    FileManager setRootDir(Path rootDir);
 | 
					    FileManager setRootDir(Path rootDir);
 | 
				
			||||||
 | 
				
			|||||||
@ -32,7 +32,7 @@ public class FileManagerImpl implements FileManager {
 | 
				
			|||||||
    // variables
 | 
					    // variables
 | 
				
			||||||
    private Path rootDir;
 | 
					    private Path rootDir;
 | 
				
			||||||
    private Path path;
 | 
					    private Path path;
 | 
				
			||||||
    private boolean autoCreate = false;
 | 
					    private boolean autoCreateParent = false;
 | 
				
			||||||
    private boolean disableRootDirCheck = false;
 | 
					    private boolean disableRootDirCheck = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -101,8 +101,8 @@ public class FileManagerImpl implements FileManager {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public FileManager enableAutoCreate() {
 | 
					    public FileManager enableAutoCreateParent() {
 | 
				
			||||||
        this.autoCreate = true;
 | 
					        this.autoCreateParent = true;
 | 
				
			||||||
        return this;
 | 
					        return this;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user