Class KDMReader

java.lang.Object
org.somox.kdmhelper.KDMReader

public class KDMReader extends Object
  • Constructor Details

    • KDMReader

      public KDMReader()
  • Method Details

    • getRoot

      public Root getRoot()
    • loadProject

      public void loadProject(String... projects) throws IOException
      Load the specified projects into JaMoPP. If workspace is closed, i.e. we run standalone assume the projects arrays is a path array and load the specific paths into JaMoPP.
      Parameters:
      projects -
      Throws:
      IOException
    • loadProject

      public void loadProject(IProject... projects) throws IOException
      Throws:
      IOException
    • addModelsToRoot

      public void addModelsToRoot(Collection<Resource> resources)