org.apache.jena.riot.stream
Class JenaIOEnvironment

java.lang.Object
  extended by org.apache.jena.riot.stream.JenaIOEnvironment

public class JenaIOEnvironment
extends Object

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
static String DEFAULT_PATH
          The default path for searching for the location mapper
static String GlobalMapperSystemProperty1
           
static String GlobalMapperSystemProperty2
           
 
Constructor Summary
JenaIOEnvironment()
           
 
Method Summary
static 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 getLocationMapper()
          Get the global LocationMapper
static LocationMapper makeGlobal()
          Make a location mapper from the path settings
static LocationMapper processConfig(Model m)
          Create a LocationMapper based on Model
static void setGlobalLocationMapper(LocationMapper globalLocationMapper)
          Set the global lcoation mapper.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PATH

public static final String DEFAULT_PATH
The default path for searching for the location mapper

See Also:
Constant Field Values

GlobalMapperSystemProperty1

public static final String GlobalMapperSystemProperty1
See Also:
Constant Field Values

GlobalMapperSystemProperty2

public static final String GlobalMapperSystemProperty2
See Also:
Constant Field Values
Constructor Detail

JenaIOEnvironment

public JenaIOEnvironment()
Method Detail

getLocationMapper

public static LocationMapper getLocationMapper()
Get the global LocationMapper


setGlobalLocationMapper

public static void setGlobalLocationMapper(LocationMapper globalLocationMapper)
Set the global lcoation 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(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.



Licenced under the Apache License, Version 2.0