mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +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 createDir(String dirName);
|
||||||
void removeDir(String dirName);
|
void removeDir(String dirName);
|
||||||
|
|
||||||
void saveBitmap(Path path, Bitmap bitmap);
|
void saveBitmapAtCurrent(Bitmap bitmap, String fileName);
|
||||||
Bitmap loadBitmap(Path path);
|
Bitmap loadBitmap(Path path);
|
||||||
void removeBitmap(Path path);
|
void removeBitmap(Path path);
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ package one.nem.lacerta.source.file.impl;
|
||||||
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.file.DirectoryStream;
|
import java.nio.file.DirectoryStream;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
|
@ -84,7 +85,8 @@ public class FileManagerImpl implements FileManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void saveBitmap(Path path, Bitmap bitmap) {
|
public void saveBitmapAtCurrent(Bitmap bitmap, String fileName) {
|
||||||
|
this.currentDir
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user