public class BallerinaDocUtils extends Object
| Constructor and Description |
|---|
BallerinaDocUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyResources(String resource,
String targetPath)
Find a given resource and copy its content recursively to a given target path.
|
static String |
getPrimitiveDescription(List<String> descriptions,
String type) |
static boolean |
isDebugEnabled() |
static List<String> |
loadPrimitivesDescriptions(boolean filterDescription)
Load primitive types of Ballerina.
|
static String |
mdToHtml(String mdContent)
Convert a given md to a html.
|
static void |
packageToZipFile(String sourceDirPath,
String zipFilePath) |
public static String mdToHtml(String mdContent)
mdContent - contentpublic static List<String> loadPrimitivesDescriptions(boolean filterDescription)
public static void packageToZipFile(String sourceDirPath, String zipFilePath) throws IOException
IOExceptionpublic static void copyResources(String resource, String targetPath) throws IOException
resource - name of the resourcetargetPath - target directory path as a string.IOException - Failure to load the resources.public static boolean isDebugEnabled()
Copyright © 2018 WSO2. All rights reserved.