public class DefaultJsonSchemaLoader extends Object implements JsonSchemaLoader
| Constructor and Description |
|---|
DefaultJsonSchemaLoader() |
| Modifier and Type | Method and Description |
|---|---|
org.everit.json.schema.Schema |
createSchema(org.apache.camel.CamelContext camelContext,
InputStream schemaInputStream)
Create a new Schema based on the schema input stream.
|
public org.everit.json.schema.Schema createSchema(org.apache.camel.CamelContext camelContext,
InputStream schemaInputStream)
throws IOException
JsonSchemaLoadercreateSchema in interface JsonSchemaLoadercamelContext - camel contextschemaInputStream - the resource input streamIOExceptionApache Camel