Class SchemaGeneratorHelper

java.lang.Object
org.eclipse.lemminx.customservice.synapse.schemagen.util.SchemaGeneratorHelper

public class SchemaGeneratorHelper extends Object
TODO
  • Constructor Details

    • SchemaGeneratorHelper

      public SchemaGeneratorHelper()
  • Method Details

    • getSchemaContent

      public String getSchemaContent(FileType option, String filePath, String delimiter)
      This method returns the generated schema as a string. It will load the schema generator class depending on the file type of the file and pass the file to the schema generator class which would generate the schema.
      Parameters:
      option -
      filePath -
      Returns:
    • getSchemaFromContent

      public String getSchemaFromContent(FileType option, String fileContent, String delimiter)