Package viindex :: Module indexer :: Class Indexer
[show private | hide private]
[frames | no frames]

Class Indexer


This is the core of the Indexer. This class needs wordsDB, filesDB, Splitter and Search classes.
Method Summary
  __init__(self, wordsDB, filesDB, splitter, search, disp)
  add_directory(self, dir, pattern)
patter must be a dictionary object
  add_file(self, file)
  display_result(self, result)
  find(self, words_to_find, casesensitive)
words_to_find must be a dict ={'+':[],'-':[]}

Method Details

add_directory(self, dir, pattern)

patter must be a dictionary object

find(self, words_to_find={}, casesensitive=1)

words_to_find must be a dict ={'+':[],'-':[]}

Generated by Epydoc 1.1 on Wed Aug 27 15:42:18 2003 http://epydoc.sf.net