java.lang.Object
org.apache.jena.riot.tokens.TokenizerText
Tokenizer for the Turtle family of syntaxes.
Supports additional tokens.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static TokenizerTextBuildercreate()final booleaneof()End of tokens?static TokenizerfromString(String string) longlonggetLine()final booleanhasNext()Is there another token?final Tokennext()Move to next tokenfinal Tokenpeek()Peek next token : null for no token.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
create
-
fromString
-
hasNext
public final boolean hasNext()Description copied from interface:TokenizerIs there another token? -
eof
public final boolean eof()Description copied from interface:TokenizerEnd of tokens? -
next
Description copied from interface:TokenizerMove to next token -
peek
Description copied from interface:TokenizerPeek next token : null for no token. -
close
public void close()- Specified by:
closein interfaceorg.apache.jena.atlas.lib.Closeable
-
getColumn
public long getColumn() -
getLine
public long getLine()
-