mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
save/load/removeを追加 Impl WIP
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -16,7 +16,7 @@ public interface FileManager {
|
||||
void createDir(String dirName);
|
||||
void removeDir(String dirName);
|
||||
|
||||
void saveBitmap(Path path, Bitmap bitmap);
|
||||
void saveBitmapAtCurrent(Bitmap bitmap, String fileName);
|
||||
Bitmap loadBitmap(Path path);
|
||||
void removeBitmap(Path path);
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ package one.nem.lacerta.source.file.impl;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.DirectoryStream;
|
||||
import java.nio.file.Files;
|
||||
@@ -84,7 +85,8 @@ public class FileManagerImpl implements FileManager {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void saveBitmap(Path path, Bitmap bitmap) {
|
||||
public void saveBitmapAtCurrent(Bitmap bitmap, String fileName) {
|
||||
this.currentDir
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user