mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 07:53:15 +00:00
close処理を実装
This commit is contained in:
parent
080e86d05d
commit
099d900ffd
|
@ -161,6 +161,15 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
|||
|
||||
@Override
|
||||
public void close() {
|
||||
|
||||
logger.debug("close", "called");
|
||||
// TODO-rca: ここでxmlファイルを保存する
|
||||
try {
|
||||
this.fileManager.saveDocument(xmlMetaParser.serialize(xmlMetaModel), "meta.xml");
|
||||
logger.debug("close", "meta.xml saved");
|
||||
} catch (Exception e) {
|
||||
logger.error("close", "meta.xml save failed");
|
||||
logger.trace("close", e.getMessage());
|
||||
}
|
||||
logger.info("close", "finished");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user