Package org.aksw.jenax.arq.util.io
Class NTripleUtils
java.lang.Object
org.aksw.jenax.arq.util.io.NTripleUtils
TODO This class should be separated into a ParserProfiles class and ParserUtils one
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.sparql.core.QuadparseNQuadsString(String str) Parse the first quad from a given string.static org.apache.jena.graph.TripleParse the first triple from a given string.static org.apache.jena.riot.system.ParserProfile
-
Field Details
-
profile
public static org.apache.jena.riot.system.ParserProfile profile
-
-
Constructor Details
-
NTripleUtils
public NTripleUtils()
-
-
Method Details
-
permissiveProfile
public static org.apache.jena.riot.system.ParserProfile permissiveProfile() -
parseNTriplesString
Parse the first triple from a given string. It is recommended for the string to not have any trailing data.- Parameters:
str-- Returns:
-
parseNQuadsString
Parse the first quad from a given string. It is recommended for the string to not have any trailing data.- Parameters:
str-- Returns:
-