net.sf.mpxj.utility
Class InputStreamTokenizer

java.lang.Object
  extended by net.sf.mpxj.utility.Tokenizer
      extended by net.sf.mpxj.utility.InputStreamTokenizer

public final class InputStreamTokenizer
extends Tokenizer

This class implements a tokenizer as per the underlying Tokenizer class, with characters being read from an InputStream instance.


Field Summary
 
Fields inherited from class net.sf.mpxj.utility.Tokenizer
TT_EOF, TT_EOL, TT_WORD
 
Constructor Summary
InputStreamTokenizer(InputStream is)
          Constructor.
 
Method Summary
protected  int read()
          This method must be implemented to read the next character from the data source.
 
Methods inherited from class net.sf.mpxj.utility.Tokenizer
getToken, getType, nextToken, setDelimiter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreamTokenizer

public InputStreamTokenizer(InputStream is)
Constructor.

Parameters:
is - InputStream instance
Method Detail

read

protected int read()
            throws IOException
This method must be implemented to read the next character from the data source.

Specified by:
read in class Tokenizer
Returns:
next character
Throws:
IOException


Copyright © 2012. All Rights Reserved.