com.indexdata.torus2.query
Class Tokenizer

java.lang.Object
  extended by com.indexdata.torus2.query.Tokenizer
All Implemented Interfaces:
Enumeration<String>

public class Tokenizer
extends Object
implements Enumeration<String>

Author:
jakub

Nested Class Summary
static class Tokenizer.TokenizerType
           
 
Field Summary
static String FIELD_TOKEN_DELIMS
           
static String QUERY_TOKEN_DELIMS
           
 
Constructor Summary
Tokenizer(String str, Tokenizer.TokenizerType type)
           
 
Method Summary
 boolean hasMoreElements()
           
 String nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_TOKEN_DELIMS

public static final String FIELD_TOKEN_DELIMS
See Also:
Constant Field Values

QUERY_TOKEN_DELIMS

public static final String QUERY_TOKEN_DELIMS
See Also:
Constant Field Values
Constructor Detail

Tokenizer

public Tokenizer(String str,
                 Tokenizer.TokenizerType type)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<String>

nextElement

public String nextElement()
Specified by:
nextElement in interface Enumeration<String>


Copyright © 2008-2013 Index Data. All Rights Reserved.