Class SchemaGeneratorHelper
java.lang.Object
org.eclipse.lemminx.customservice.synapse.schemagen.util.SchemaGeneratorHelper
TODO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSchemaContent(FileType option, String filePath, String delimiter) This method returns the generated schema as a string.getSchemaFromContent(FileType option, String fileContent, String delimiter)
-
Constructor Details
-
SchemaGeneratorHelper
public SchemaGeneratorHelper()
-
-
Method Details
-
getSchemaContent
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
-