All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jsonldjava.sesame.SesameJSONLDParserFactory Maven / Gradle / Ivy

The newest version!
/**
 * 
 */
package com.github.jsonldjava.sesame;

import org.openrdf.rio.RDFFormat;
import org.openrdf.rio.RDFParser;
import org.openrdf.rio.RDFParserFactory;

/**
 * An {@link RDFParserFactory} that creates instances of
 * {@link SesameJSONLDParser}.
 * 
 * @author Peter Ansell [email protected]
 */
public class SesameJSONLDParserFactory implements RDFParserFactory {

    @Override
    public RDFFormat getRDFFormat() {
        return RDFFormat.JSONLD;
    }

    @Override
    public RDFParser getParser() {
        return new SesameJSONLDParser();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy