java.lang.Object
org.apache.jena.riot.system.stream.JenaIOEnvironment
Code for using the general facilities of the location mapper/ filemanager subsystem
and set up for Jena usage. e.g. find a location mapper with RDf description.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocationMapper
createLocationMapper
(String configPath) Search a path (which is delimited by ";" because ":" is used in URIs) to find a description of a LocationMapper, then create and return a LocationMapper based on the description.static LocationMapper
Get the global LocationMapperstatic LocationMapper
Make a location mapper from the path settingsstatic LocationMapper
processConfig
(org.apache.jena.rdf.model.Model m) Create a LocationMapper based on Modelstatic void
setGlobalLocationMapper
(LocationMapper globalLocationMapper) Set the global location mapper.
-
Field Details
-
DEFAULT_PATH
The default path for searching for the location mapper- See Also:
-
GlobalMapperSystemProperty1
- See Also:
-
GlobalMapperSystemProperty2
- See Also:
-
-
Constructor Details
-
JenaIOEnvironment
public JenaIOEnvironment()
-
-
Method Details
-
getLocationMapper
Get the global LocationMapper -
setGlobalLocationMapper
Set the global location mapper. (as returned by get()) If called before any call to get(), then the usual default global location mapper is not created- Parameters:
globalLocationMapper
-
-
makeGlobal
Make a location mapper from the path settings -
processConfig
Create a LocationMapper based on Model -
createLocationMapper
Search a path (which is delimited by ";" because ":" is used in URIs) to find a description of a LocationMapper, then create and return a LocationMapper based on the description.
-