src
Class MakeIndex

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

public class MakeIndex
extends Loader

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

Author:
jroyer

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 src.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 - nom du fichier
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