public class FileBasedNIFDataset extends AbstractNIFDataset
AbstractNIFDataset.LocalNIFParsergranter| Constructor and Description |
|---|
FileBasedNIFDataset(String filePath) |
FileBasedNIFDataset(String filePath,
org.apache.jena.riot.Lang language) |
FileBasedNIFDataset(String filePath,
String name) |
FileBasedNIFDataset(String filePath,
String name,
org.apache.jena.riot.Lang language) |
FileBasedNIFDataset(String filePath,
String name,
String language) |
| Modifier and Type | Method and Description |
|---|---|
protected static org.apache.jena.riot.Lang |
fileExtToLang(String filePath) |
protected InputStream |
getDataAsInputStream()
This method returns an opened InputStream from which the NIF data will be
read.
|
protected org.apache.jena.riot.Lang |
getDataLanguage()
This method returns the language of the NIF data, e.g.,
Lang.TURTLE. |
closeInputStream, getInstances, getName, getRdfModel, init, sizeclose, performClose, setClosePermitionGranter, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetClosePermitionGranter, setNamepublic FileBasedNIFDataset(String filePath, String name, org.apache.jena.riot.Lang language)
public FileBasedNIFDataset(String filePath, org.apache.jena.riot.Lang language)
public FileBasedNIFDataset(String filePath)
protected InputStream getDataAsInputStream()
AbstractNIFDatasetAbstractNIFDataset.closeInputStream(InputStream) is called. If there are other
resources related to this stream that have to be closed, this method can
be overwritten to free these resources, too.getDataAsInputStream in class AbstractNIFDatasetprotected org.apache.jena.riot.Lang getDataLanguage()
AbstractNIFDatasetLang.TURTLE.getDataLanguage in class AbstractNIFDatasetprotected static org.apache.jena.riot.Lang fileExtToLang(String filePath)
Copyright © 2014–2017. All rights reserved.