Package lu.kbra.modelizer_next.json
Class LegacyModelizerImporter
java.lang.Object
lu.kbra.modelizer_next.json.LegacyModelizerImporter
Imports diagrams from the legacy Modelizer JSON structure into the current domain model.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelDocumentimportFile(File file) Imports the file.static booleanisLegacyFile(File file) Checks whether legacy file is enabled or applies while converting JSON data.
-
Method Details
-
importFile
Imports the file.- Parameters:
file- file to read or write- Returns:
- the import file result
- Throws:
IOException- if the operation cannot be completed
-
isLegacyFile
Checks whether legacy file is enabled or applies while converting JSON data.- Parameters:
file- file to read or write- Returns:
trueif legacy file is enabled or applies; otherwisefalse- Throws:
IOException- if the operation cannot be completed
-