Package no.hasmac.jsonld.loader
Class FileLoader
java.lang.Object
no.hasmac.jsonld.loader.FileLoader
- All Implemented Interfaces:
DocumentLoader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetectedContentType
(String name) loadDocument
(URI url, DocumentLoaderOptions options) Retrieve a remote document.
-
Field Details
-
LOGGER
-
resolver
-
-
Constructor Details
-
FileLoader
public FileLoader()
-
-
Method Details
-
loadDocument
Description copied from interface:DocumentLoader
Retrieve a remote document.- Specified by:
loadDocument
in interfaceDocumentLoader
- Parameters:
url
- of the remote document to fetchoptions
- to set the behavior of the loader- Returns:
Document
representing a remote document- Throws:
JsonLdError
-
detectedContentType
-