mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-09-09 12:09:25 +00:00 
			
		
		
		
	FileManagerに普通のファイル読み書きを追加 WIP
This commit is contained in:
		
							parent
							
								
									81d545b90b
								
							
						
					
					
						commit
						92b48336ac
					
				| 
						 | 
					@ -20,4 +20,8 @@ public interface FileManager {
 | 
				
			||||||
    Bitmap loadBitmap(Path path);
 | 
					    Bitmap loadBitmap(Path path);
 | 
				
			||||||
    void removeBitmap(Path path);
 | 
					    void removeBitmap(Path path);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    void saveFileAtCurrent(File file);
 | 
				
			||||||
 | 
					    File getFile(Path path);
 | 
				
			||||||
 | 
					    void removeFile(Path path);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -103,4 +103,20 @@ public class FileManagerImpl implements FileManager {
 | 
				
			||||||
    public void removeBitmap(Path path) {
 | 
					    public void removeBitmap(Path path) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Override
 | 
				
			||||||
 | 
					    public void saveFileAtCurrent(File file) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Override
 | 
				
			||||||
 | 
					    public File getFile(Path path) {
 | 
				
			||||||
 | 
					        return null;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Override
 | 
				
			||||||
 | 
					    public void removeFile(Path path) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user