| java.lang.Object com.hp.hpl.jena.shared.wg.TestInputStreamFactory
TestInputStreamFactory | public class TestInputStreamFactory (Code) | | This class provides input streams that:
1: can be from a URL or from a zip
2: do not actually open until the first read
author: Jeremy Carroll |
iriFactory | final IRIFactory iriFactory(Code) | | |
TestInputStreamFactory | public TestInputStreamFactory(IRI baseDir, IRI getBaseDir)(Code) | | Parameters: baseDir - A prefix of all URLs accessed through this factory. Parameters: getBaseDir - Replace the baseDir into getBaseDir before opening any URL. |
TestInputStreamFactory | public TestInputStreamFactory(IRI baseDir, ZipFile zip)(Code) | | Parameters: baseDir - A prefix of all URLs accessed through this factory. Parameters: zip - To open a URL remove the baseDir from the URL and get the named file from the zip. |
TestInputStreamFactory | public TestInputStreamFactory(IRI baseDir, String propDir)(Code) | | Parameters: baseDir - A prefix of all URLs accessed through this factory. Parameters: zip - To open a URL remove the baseDir from the URL and get the named file from the zip. |
getBase | public IRI getBase()(Code) | | |
getMapBase | public IRI getMapBase()(Code) | | |
open | public InputStream open(String str)(Code) | | A lazy open. The I/O only starts, and resources
are only allocated on first read.
Parameters: str - The URI to open |
open | public InputStream open(IRI uri)(Code) | | A lazy open. The I/O only starts, and resources
are only allocated on first read.
Parameters: uri - to be opened. the opened stream |
savable | public boolean savable()(Code) | | |
|
|