Package com.apicatalog.jsonld.loader
Class FileLoader
- java.lang.Object
-
- com.apicatalog.jsonld.loader.FileLoader
-
- All Implemented Interfaces:
DocumentLoader
public final class FileLoader extends Object implements DocumentLoader
-
-
Constructor Summary
Constructors Constructor Description FileLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentloadDocument(URI url, DocumentLoaderOptions options)Retrieve a remote document.
-
-
-
Method Detail
-
loadDocument
public Document loadDocument(URI url, DocumentLoaderOptions options) throws JsonLdError
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
-
-