mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
save/load/removeを追加 Impl WIP
This commit is contained in:
parent
92d147ab65
commit
8441b88ab3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user