Class LangTurtleJCCParserBase

java.lang.Object
org.apache.jena.riot.lang.turtlejcc.LangTurtleJCCParserBase
Direct Known Subclasses:
TurtleJavacc

public class LangTurtleJCCParserBase extends Object
  • Constructor Details

    • LangTurtleJCCParserBase

      public LangTurtleJCCParserBase()
  • Method Details

    • setProfile

      public void setProfile(ParserProfile profile)
    • setDest

      public void setDest(OutputRDF output)
    • stripChars

      public static String stripChars(String s, int n)
      Remove the first n characters from the string
    • stripQuotes

      public static String stripQuotes(String s)
      Remove first and last characters (e.g. ' or "") from a string
    • stripQuotes3

      public static String stripQuotes3(String s)
      Remove first 3 and last 3 characters (e.g. ''' or """) from a string
    • unescapeStr

      public static String unescapeStr(String s, int line, int column)
      Unescape \t, \n etc.