org.openjena.atlas.json.io.parser
Class TokenizerJSON
java.lang.Object
org.openjena.atlas.json.io.parser.TokenizerJSON
- All Implemented Interfaces:
- java.util.Iterator<Token>, Closeable, Tokenizer
public class TokenizerJSON
- extends java.lang.Object
- implements Tokenizer
Tokenizer for all sorts of things JSON-ish
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CTRL_CHAR
public static final int CTRL_CHAR
- See Also:
- Constant Field Values
TokenizerJSON
public TokenizerJSON(PeekReader reader)
hasNext
public final boolean hasNext()
- Description copied from interface:
Tokenizer
- Is there another token?
- Specified by:
hasNext in interface java.util.Iterator<Token>- Specified by:
hasNext in interface Tokenizer
next
public final Token next()
- Move to next token
- Specified by:
next in interface java.util.Iterator<Token>- Specified by:
next in interface Tokenizer
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator<Token>
getColumn
public long getColumn()
- Specified by:
getColumn in interface Tokenizer
getLine
public long getLine()
- Specified by:
getLine in interface Tokenizer
close
public void close()
- Specified by:
close in interface Closeable
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.