public class SchemaBuilder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SchemaBuilder(com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
build()
Build a schema
|
SchemaBuilder |
loadTypes(InputStream schemaStream)
Load input stream into a SchemaBuimder
|
protected SchemaBuilder(com.fasterxml.jackson.databind.ObjectMapper mapper)
public SchemaBuilder loadTypes(InputStream schemaStream) throws IOException
schemaStream - the input streamIOExceptionpublic Schema build()
Copyright © 2018 Vitam. All rights reserved.