org.openjena.riot.tokens
Class PrintTokenizer

java.lang.Object
  extended by org.openjena.riot.tokens.TokenizerWrapper
      extended by org.openjena.riot.tokens.PrintTokenizer
All Implemented Interfaces:
Iterator<Token>, Closeable, Tokenizer

public class PrintTokenizer
extends TokenizerWrapper

Print a logging message on every token


Constructor Summary
PrintTokenizer(String label, Tokenizer other)
           
 
Method Summary
 Token next()
          Move to next token
 
Methods inherited from class org.openjena.riot.tokens.TokenizerWrapper
close, eof, getColumn, getLine, hasNext, peek, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintTokenizer

public PrintTokenizer(String label,
                      Tokenizer other)
Method Detail

next

public Token next()
Description copied from interface: Tokenizer
Move to next token

Specified by:
next in interface Iterator<Token>
Specified by:
next in interface Tokenizer
Overrides:
next in class TokenizerWrapper


Licenced under the Apache License, Version 2.0