Package org.apache.jena.riot.lang

Examples of org.apache.jena.riot.lang.CollectorStreamTriples


public class ExRIOT_7 {

    public static void main(String... argv) {
        final String filename = "data.ttl";
       
        CollectorStreamTriples inputStream = new CollectorStreamTriples();
        RDFDataMgr.parse(inputStream, filename);

        for (Triple triple : inputStream.getCollected()) {
          System.out.println(triple);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jena.riot.lang.CollectorStreamTriples

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.