org.nuiton.util
Class StreamKeywordTokenizer

java.lang.Object
  extended by java.io.StreamTokenizer
      extended by org.nuiton.util.StreamKeywordTokenizer

Deprecated. since 2.2 : unused, undocumented

@Deprecated
public class StreamKeywordTokenizer
extends StreamTokenizer

TODO What is it for ?


Field Summary
protected  HashSet<String> keywords
          Deprecated.  
protected  boolean lowerCaseKeyword
          Deprecated.  
protected  int quoteCharVariable
          Deprecated.  
static int TT_KEYWORD
          Deprecated.  
static int TT_VARIABLE
          Deprecated.  
 
Fields inherited from class java.io.StreamTokenizer
nval, sval, TT_EOF, TT_EOL, TT_NUMBER, TT_WORD, ttype
 
Constructor Summary
StreamKeywordTokenizer(Reader in)
          Deprecated.  
 
Method Summary
 void addKeyword(String keyword)
          Deprecated.  
 void lowerCaseKeyword(boolean fl)
          Deprecated. This method must be call before addKeyword.
 int nextToken()
          Deprecated.  
 void quoteCharVariable(int c)
          Deprecated.  
 
Methods inherited from class java.io.StreamTokenizer
commentChar, eolIsSignificant, lineno, lowerCaseMode, ordinaryChar, ordinaryChars, parseNumbers, pushBack, quoteChar, resetSyntax, slashSlashComments, slashStarComments, toString, whitespaceChars, wordChars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TT_KEYWORD

public static final int TT_KEYWORD
Deprecated. 
See Also:
Constant Field Values

TT_VARIABLE

public static final int TT_VARIABLE
Deprecated. 
See Also:
Constant Field Values

keywords

protected HashSet<String> keywords
Deprecated. 

lowerCaseKeyword

protected boolean lowerCaseKeyword
Deprecated. 

quoteCharVariable

protected int quoteCharVariable
Deprecated. 
Constructor Detail

StreamKeywordTokenizer

public StreamKeywordTokenizer(Reader in)
Deprecated. 
Method Detail

nextToken

public int nextToken()
              throws IOException
Deprecated. 
Overrides:
nextToken in class StreamTokenizer
Throws:
IOException

addKeyword

public void addKeyword(String keyword)
Deprecated. 

lowerCaseKeyword

public void lowerCaseKeyword(boolean fl)
Deprecated. 
This method must be call before addKeyword.

Parameters:
fl -

quoteCharVariable

public void quoteCharVariable(int c)
Deprecated. 


Copyright © 2004-2011 CodeLutin. All Rights Reserved.