Class NTripleUtils

java.lang.Object
org.aksw.jenax.arq.util.io.NTripleUtils

public class NTripleUtils extends Object
TODO This class should be separated into a ParserProfiles class and ParserUtils one
  • 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

      public static org.apache.jena.graph.Triple parseNTriplesString(String str)
      Parse the first triple from a given string. It is recommended for the string to not have any trailing data.
      Parameters:
      str -
      Returns:
    • parseNQuadsString

      public static org.apache.jena.sparql.core.Quad parseNQuadsString(String str)
      Parse the first quad from a given string. It is recommended for the string to not have any trailing data.
      Parameters:
      str -
      Returns: