Class ModernModelizerImporter

java.lang.Object
lu.kbra.modelizer_next.json.ModernModelizerImporter

public final class ModernModelizerImporter extends Object
Imports the current Modelizer Next JSON document format.
  • Method Details

    • importFile

      public static ModelDocument importFile(File file) throws IOException
      Imports the file.
      Parameters:
      file - file to read or write
      Returns:
      the import file result
      Throws:
      IOException - if the operation cannot be completed
    • importString

      public static ModelDocument importString(String file) throws IOException
      Imports the string.
      Parameters:
      file - file to read or write
      Returns:
      the import string result
      Throws:
      IOException - if the operation cannot be completed