saveの中身を実装 WIP

This commit is contained in:
r-ca 2023-12-25 11:49:01 +09:00
parent 8441b88ab3
commit 9a17910862
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -85,8 +85,12 @@ public class FileManagerImpl implements FileManager {
}
@Override
public void saveBitmapAtCurrent(Bitmap bitmap, String fileName) {
this.currentDir
public void saveBitmapAtCurrent(Bitmap bitmap, String fileName) { // TODO-rca: ファイル形式を変更できるようにする
try {
Files.write(currentDir.resolve(fileName), bitmap.toString().getBytes()); // TODO-rca: エラーハンドリング
} catch (IOException e) {
e.printStackTrace();
}
}
@Override