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