Search in sources :

Example 1 with LocatorHTTP

use of org.apache.jena.riot.system.stream.LocatorHTTP in project jena by apache.

the class TestStreamManager method beforeClass.

@BeforeClass
public static void beforeClass() {
    streamMgrStd = StreamManager.get();
    streamMgrDir = new StreamManager();
    // Not current directory.
    streamMgrDir.addLocator(new LocatorFile(directory));
    streamMgrDir.addLocator(new LocatorHTTP());
    streamMgrHere = new StreamManager();
    // Not current directory.
    streamMgrHere.addLocator(new LocatorFile());
    streamMgrHere.addLocator(new LocatorHTTP());
    streamMgrNull = new StreamManager();
}
Also used : LocatorHTTP(org.apache.jena.riot.system.stream.LocatorHTTP) StreamManager(org.apache.jena.riot.system.stream.StreamManager) LocatorFile(org.apache.jena.riot.system.stream.LocatorFile) BeforeClass(org.junit.BeforeClass)

Aggregations

LocatorFile (org.apache.jena.riot.system.stream.LocatorFile)1 LocatorHTTP (org.apache.jena.riot.system.stream.LocatorHTTP)1 StreamManager (org.apache.jena.riot.system.stream.StreamManager)1 BeforeClass (org.junit.BeforeClass)1