org.apache.lucene.analysis
Class CachingTokenFilter
public
class
CachingTokenFilter
extends TokenFilter
This class can be used if the Tokens of a TokenStream
are intended to be consumed more than once. It caches
all Tokens locally in a List.
CachingTokenFilter implements the optional method
reset, which repositions the
stream to the first Token.
public void reset()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.