This commit is contained in:
r-ca 2023-12-25 11:38:14 +09:00
parent de9b78035a
commit 2154e67178
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -2,20 +2,31 @@ package one.nem.lacerta.processor.impl;
import android.graphics.Bitmap;
import java.nio.file.Path;
import javax.inject.Inject;
import one.nem.lacerta.processor.DocumentProcessor;
import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.source.file.FileManager;
public class DocumentProcessorImpl implements DocumentProcessor{
private DocumentDetail documentDetail;
// Injection
@Inject
FileManager fileManager;
// Internal utils
@Override
public void addNewPageToLast(Bitmap bitmap) {
Path path = documentDetail.getPath().getFullPath();
// fileManager.saveBitmap(path, bitmap);
}
@Override