public final class URIManager extends Object
This uses a map of URIDownloader
instances to fetch the contents
of a URI as an InputStream
, then tries and turns this content into
JSON using an ObjectMapper
.
Normally, you will never use this class directly.
DefaultDownloadersDictionary
,
SchemaLoader
Constructor and Description |
---|
URIManager() |
URIManager(LoadingConfiguration cfg) |
public URIManager()
public URIManager(LoadingConfiguration cfg)
public JsonNode getContent(URI uri) throws ProcessingException
JsonNode
uri
- the URIProcessingException
- scheme is not registered, failed to get
content, or content is not JSONCopyright © 2013. All Rights Reserved.