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
JsonSchemaLoader
createSchema
in interface JsonSchemaLoader
camelContext
- camel contextschemaInputStream
- the resource input streamIOException
Apache Camel