Class Oml2DotApp

java.lang.Object
com.plantoml.plantomlserver.translator.Oml2DotApp

public class Oml2DotApp extends Object
This class is responsible for parsing OML files and converting them to DOT format. It sets up the necessary OML infrastructure, validates the OML file, and then uses the Oml2Dot class to perform the conversion.
  • Constructor Details

    • Oml2DotApp

      public Oml2DotApp()
      Constructor for Oml2DotApp.
  • Method Details

    • parse

      public String parse(Path omlFilePath)
      Parses the OML file at the given path and converts it to DOT format.
      Parameters:
      omlFilePath - The path to the OML file to be parsed.
      Returns:
      A String representation of the DOT format of the given OML file.