Class SPARQLExtStreamManager
- java.lang.Object
-
- org.apache.jena.riot.system.stream.StreamManager
-
- fr.mines_stetienne.ci.sparql_generate.stream.SPARQLExtStreamManager
-
public class SPARQLExtStreamManager extends StreamManager
Extends the StreamManager class with content negociation capabilities.- Author:
- Maxime Lefrançois
-
-
Field Summary
-
Fields inherited from class org.apache.jena.riot.system.stream.StreamManager
logAllLookups
-
-
Method Summary
-
Methods inherited from class org.apache.jena.riot.system.stream.StreamManager
addLocator, clearLocators, clone, createStd, get, get, getLocationMapper, hasMapping, locators, mapURI, remove, setGlobal
-
-
-
-
Method Detail
-
makeStreamManager
public static SPARQLExtStreamManager makeStreamManager()
-
makeStreamManager
public static SPARQLExtStreamManager makeStreamManager(LocationMapperAccept mapper)
-
makeStreamManager
public static SPARQLExtStreamManager makeStreamManager(LocatorAccept locator)
-
makeStreamManager
public static SPARQLExtStreamManager makeStreamManager(LocatorAccept locator, LocationMapperAccept mapper)
-
open
@Deprecated public TypedInputStream open(String filenameOrURI)
Deprecated.Open a file using the locators of this StreamManager. Returns null if not found.- Overrides:
open
in classStreamManager
-
open
public TypedInputStream open(LookUpRequest _request)
Open a file using the locators of this StreamManager. Returns null if not found.
-
mapURI
@Deprecated public String mapURI(LookUpRequest request)
Deprecated.
-
mapRequest
public LookUpRequest mapRequest(LookUpRequest _request)
-
openNoMap
@Deprecated public TypedInputStream openNoMap(String filenameOrURI)
Deprecated.Open a file using the locators of this FileManager but without location mapping. Throws RiotNotFoundException if not found.- Overrides:
openNoMap
in classStreamManager
-
openNoMap
public TypedInputStream openNoMap(LookUpRequest request)
-
openNoMapOrNull
@Deprecated public TypedInputStream openNoMapOrNull(String filenameOrURI)
Deprecated.Open a file using the locators of this FileManager without location mapping. Return null if not found- Overrides:
openNoMapOrNull
in classStreamManager
-
openNoMapOrNull
public TypedInputStream openNoMapOrNull(LookUpRequest request)
-
setLocationMapper
@Deprecated public void setLocationMapper(LocationMapper _mapper)
Deprecated.Set the location mapping- Overrides:
setLocationMapper
in classStreamManager
-
setLocationMapper
public void setLocationMapper(LocationMapperAccept _mapper)
-
setLocationMapper
public void setLocationMapper(Model configurationModel)
-
addLocator
public void addLocator(LocatorAccept loc)
Add a locator to the end of the locators list
-
-