Class JenaIOEnvironment

java.lang.Object
org.apache.jena.riot.system.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 Details

  • Constructor Details

    • JenaIOEnvironment

      public JenaIOEnvironment()
  • Method Details

    • 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(org.apache.jena.rdf.model.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.