org.openjena.riot.tokens
Interface Tokenizer

All Superinterfaces:
Closeable, java.util.Iterator<Token>
All Known Implementing Classes:
PrintTokenizer, TokenizerBytes, TokenizerJSON, TokenizerText, TokenizerWrapper

public interface Tokenizer
extends java.util.Iterator<Token>, Closeable


Method Summary
 long getColumn()
           
 long getLine()
           
 boolean hasNext()
          Is there another token?
 Token next()
          Move to next token
 
Methods inherited from interface java.util.Iterator
remove
 
Methods inherited from interface org.openjena.atlas.lib.Closeable
close
 

Method Detail

hasNext

boolean hasNext()
Is there another token?

Specified by:
hasNext in interface java.util.Iterator<Token>

next

Token next()
Move to next token

Specified by:
next in interface java.util.Iterator<Token>

getLine

long getLine()

getColumn

long getColumn()


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.