com.dfamaj.textproc.xwm
Class NoDoubleSpaceTokenizerFilter

java.lang.Object
  extended by com.dfamaj.textproc.xwm.TokenizerFilter
      extended by com.dfamaj.textproc.xwm.NoDoubleSpaceTokenizerFilter
All Implemented Interfaces:
ThreadUnsafe, Tokenizer

public class NoDoubleSpaceTokenizerFilter
extends TokenizerFilter
implements ThreadUnsafe

filtre sur un TokenizerFilter, qui réduit les espaces doubles.

Since:
2.0
Version:
2.0 -- 2007-02-03 -- $Revision$
Author:
David Andriana

Constructor Summary
NoDoubleSpaceTokenizerFilter(Tokenizer delegate)
          
constructeur.
 
Method Summary
 Token nextToken()
          
renvoie le token suivant, ou null s'il n'y en a plus.
 
Methods inherited from class com.dfamaj.textproc.xwm.TokenizerFilter
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoDoubleSpaceTokenizerFilter

public NoDoubleSpaceTokenizerFilter(Tokenizer delegate)
constructeur.

Method Detail

nextToken

public Token nextToken()
                throws java.io.IOException
renvoie le token suivant, ou null s'il n'y en a plus.

Specified by:
nextToken in interface Tokenizer
Overrides:
nextToken in class TokenizerFilter
Throws:
java.io.IOException