パーサーを依存関係に追加

This commit is contained in:
r-ca 2023-12-25 15:44:15 +09:00
parent bd1a1d56cb
commit 73f553cff3
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -2,7 +2,6 @@ package one.nem.lacerta.processor.impl;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import java.io.File;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.UUID; import java.util.UUID;
@ -11,14 +10,16 @@ import javax.inject.Inject;
import one.nem.lacerta.processor.DocumentProcessor; import one.nem.lacerta.processor.DocumentProcessor;
import one.nem.lacerta.model.document.DocumentDetail; import one.nem.lacerta.model.document.DocumentDetail;
import one.nem.lacerta.model.document.DocumentMeta;
import one.nem.lacerta.processor.model.XmlMetaModel; import one.nem.lacerta.model.document.internal.XmlMetaModel;
import one.nem.lacerta.source.file.FileManager; import one.nem.lacerta.source.file.FileManager;
import one.nem.lacerta.source.file.factory.FileManagerFactory; import one.nem.lacerta.source.file.factory.FileManagerFactory;
import one.nem.lacerta.utils.LacertaLogger; import one.nem.lacerta.utils.LacertaLogger;
import one.nem.lacerta.utils.XmlMetaParser;
public class DocumentProcessorImpl implements DocumentProcessor{ public class DocumentProcessorImpl implements DocumentProcessor{
// Magic Numbers // Magic Numbers
@ -35,11 +36,14 @@ public class DocumentProcessorImpl implements DocumentProcessor{
@Inject @Inject
LacertaLogger logger; LacertaLogger logger;
@Inject
XmlMetaParser xmlMetaParser;
@Override @Override
public void init() { public void init() {
logger.debug("init", "called"); logger.debug("init", "called");
// XMLメタデータの取得/生成 // XMLメタデータの取得/生成
FileManager fileManager = fileManagerFactory.create(documentDetail.getPath().getFullPath());
} }
@Override @Override