public final class ValidateHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
asName(File file)
Returns the name of the component, data format or language from the given json file
|
static void |
validate(File file,
ErrorDetail errorDetail)
Validates the component json file
|
public static void validate(File file, ErrorDetail errorDetail)
file - the json fileerrorDetail - details to add errorsApache Camel