Module org.apache.jena.arq
Class LangTurtleJCCParserBase
java.lang.Object
org.apache.jena.riot.lang.turtlejcc.LangTurtleJCCParserBase
- Direct Known Subclasses:
TurtleJavacc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetProfile(ParserProfile profile) static StringstripChars(String s, int n) Remove the first n characters from the stringstatic StringRemove first and last characters (e.g. ' or "") from a stringstatic StringRemove first 3 and last 3 characters (e.g. ''' or """) from a stringstatic StringunescapeStr(String s, int line, int column) Unescape \t, \n etc.
-
Constructor Details
-
LangTurtleJCCParserBase
public LangTurtleJCCParserBase()
-
-
Method Details
-
setProfile
-
setDest
-
stripChars
Remove the first n characters from the string -
stripQuotes
Remove first and last characters (e.g. ' or "") from a string -
stripQuotes3
Remove first 3 and last 3 characters (e.g. ''' or """) from a string -
unescapeStr
Unescape \t, \n etc.
-