tp0
Class MakeIndex

java.lang.Object
  extended by tp0.Loader
      extended by tp0.MakeIndex

public class MakeIndex
extends Loader

Classe simple qui lit un fichier en entrˇe ligne par ligne et reecrit son contenu un mot par ligne. Les lignes commen¨ant par % sont ignorees.

Author:
jroyer 8/07/2008

Constructor Summary
MakeIndex(java.lang.String name)
          Constructeur par defaut.
 
Method Summary
 Index getIndex()
           
 void process()
          Analyse les mots et cree l'index.
 void setIndex(Index index)
           
 
Methods inherited from class tp0.Loader
getFileName, getMots, load, output, setFileName, setMots, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MakeIndex

public MakeIndex(java.lang.String name)
Constructeur par defaut.

Parameters:
name -
Method Detail

process

public void process()
Analyse les mots et cree l'index.


getIndex

public Index getIndex()
Returns:
the index

setIndex

public void setIndex(Index index)
Parameters:
index - the index to set