Class FileLoader
java.lang.Object
no.hasmac.jsonld.loader.FileLoader
- All Implemented Interfaces:
DocumentLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadDocument(URI url, DocumentLoaderOptions options) Retrieve a remote document.
-
Constructor Details
-
FileLoader
public FileLoader()
-
-
Method Details
-
loadDocument
Description copied from interface:DocumentLoaderRetrieve a remote document.- Specified by:
loadDocumentin interfaceDocumentLoader- Parameters:
url- of the remote document to fetchoptions- to set the behavior of the loader- Returns:
Documentrepresenting a remote document- Throws:
JsonLdError
-