mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
リファクタリング
This commit is contained in:
parent
3cafa05b27
commit
5fb938c263
|
@ -95,9 +95,7 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||||
logger.debug("addNewPageToLast", "called");
|
logger.debug("addNewPageToLast", "called");
|
||||||
String filename = UUID.randomUUID().toString() + ".png"; // TODO-rca: 拡張子を動的にする
|
String filename = UUID.randomUUID().toString() + ".png"; // TODO-rca: 拡張子を動的にする
|
||||||
|
|
||||||
FileManager imageFileManager = fileManager.getNewInstance().createDirectoryIfNotExist(DEFAULT_SAVE_DIR).resolve(DEFAULT_SAVE_DIR);
|
this.fileManager.getNewInstance().createDirectoryIfNotExist(DEFAULT_SAVE_DIR).resolve(DEFAULT_SAVE_DIR).saveBitmap(bitmap, filename);
|
||||||
|
|
||||||
imageFileManager.saveBitmap(bitmap, filename);
|
|
||||||
|
|
||||||
XmlMetaPageModel xmlMetaPageModel = new XmlMetaPageModel();
|
XmlMetaPageModel xmlMetaPageModel = new XmlMetaPageModel();
|
||||||
xmlMetaPageModel.setFilename(filename);
|
xmlMetaPageModel.setFilename(filename);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user