mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
修正 WIP
This commit is contained in:
parent
9065ee1e1f
commit
3cafa05b27
|
@ -95,9 +95,9 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
|||
logger.debug("addNewPageToLast", "called");
|
||||
String filename = UUID.randomUUID().toString() + ".png"; // TODO-rca: 拡張子を動的にする
|
||||
|
||||
FileManager rawFileManager = fileManager.resolve(DEFAULT_SAVE_DIR).createDirectoryIfNotExist().getCurrentInstance();
|
||||
FileManager imageFileManager = fileManager.getNewInstance().createDirectoryIfNotExist(DEFAULT_SAVE_DIR).resolve(DEFAULT_SAVE_DIR);
|
||||
|
||||
rawFileManager.saveBitmap(bitmap, filename);
|
||||
imageFileManager.saveBitmap(bitmap, filename);
|
||||
|
||||
XmlMetaPageModel xmlMetaPageModel = new XmlMetaPageModel();
|
||||
xmlMetaPageModel.setFilename(filename);
|
||||
|
|
Loading…
Reference in New Issue
Block a user