String path = msg.getMessage();
if (ImportExportBusinessImpl.isGlobalSequenceImportFile(
path.substring(1))) {
return;
}
VfsNode node = VfsNode.find(path);
if (node == null) {
logger.error("VFS node not found " + path);
return;
}
String xml = new String(node.getData(), "UTF-8");
if (!getBusiness().getImportExportBusiness().getExporterFactory()
.getSiteExporter().importSystemFile(path.substring(1), xml)) {
getBusiness().getImportExportBusiness().getExporterFactory()
.getResourceExporter().importResourceFile(path, node.getData());
}
}
catch (DocumentException e) {
logger.error(e.getMessage());
e.printStackTrace();