cEworldEventServer.ewdFile.path
+File.separator
+cEworldEventServer.ewdFile.name
);
ModelContainer mc = PersistenceManager.
corePersistenceContainerToModelContainer(
container
);
loadFromModelContainer(mc);
log.info("Loading of map elements done.");
log.info("Building edge tree structure.");
buildSpacialEdgeTree();
} else if(cEworldEventServer.jsonFile != null) {
ModelContainer mc = PersistenceManager.modelContainerFromFile(
cEworldEventServer.jsonFile.path
+File.separator
+cEworldEventServer.jsonFile.name
);
loadFromModelContainer(mc);
} else if(cEworldEventServer.jsonString != null) {
ModelContainer mc = PersistenceManager.modelContainerFromJson(
cEworldEventServer.jsonString
);
loadFromModelContainer(mc);
}