Package com.github.erosb.jsonsKema
Class ClassPathAwareSchemaClient
-
- All Implemented Interfaces:
-
com.github.erosb.jsonsKema.SchemaClient
public final class ClassPathAwareSchemaClient implements SchemaClient
A SchemaClient which first checks if the URI scheme is
classpath, and if yes, it attempts to load the schema document from the classpath.For non-classpath URIs it delegates the call to its fallbackClient.
-
-
Constructor Summary
Constructors Constructor Description ClassPathAwareSchemaClient(SchemaClient fallbackClient)
-
Method Summary
Modifier and Type Method Description InputStreamget(URI uri)-
-
Constructor Detail
-
ClassPathAwareSchemaClient
ClassPathAwareSchemaClient(SchemaClient fallbackClient)
-
-
Method Detail
-
get
InputStream get(URI uri)
-
-
-
-