Class JenaIOEnvironment
- java.lang.Object
-
- org.apache.jena.riot.system.stream.JenaIOEnvironment
-
public class JenaIOEnvironment extends java.lang.ObjectCode 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
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_PATHThe default path for searching for the location mapperstatic java.lang.StringGlobalMapperSystemProperty1static java.lang.StringGlobalMapperSystemProperty2
-
Constructor Summary
Constructors Constructor Description JenaIOEnvironment()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocationMappercreateLocationMapper(java.lang.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 LocationMappergetLocationMapper()Get the global LocationMapperstatic LocationMappermakeGlobal()Make a location mapper from the path settingsstatic LocationMapperprocessConfig(Model m)Create a LocationMapper based on Modelstatic voidsetGlobalLocationMapper(LocationMapper globalLocationMapper)Set the global location mapper.
-
-
-
Field Detail
-
DEFAULT_PATH
public static final java.lang.String DEFAULT_PATH
The default path for searching for the location mapper- See Also:
- Constant Field Values
-
GlobalMapperSystemProperty1
public static final java.lang.String GlobalMapperSystemProperty1
- See Also:
- Constant Field Values
-
GlobalMapperSystemProperty2
public static final java.lang.String GlobalMapperSystemProperty2
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocationMapper
public static LocationMapper getLocationMapper()
Get the global LocationMapper
-
setGlobalLocationMapper
public static void setGlobalLocationMapper(LocationMapper globalLocationMapper)
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
public static LocationMapper makeGlobal()
Make a location mapper from the path settings
-
processConfig
public static LocationMapper processConfig(Model m)
Create a LocationMapper based on Model
-
createLocationMapper
public static LocationMapper createLocationMapper(java.lang.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.
-
-