classifier
Class CategoryTitles

java.lang.Object
  |
  +--classifier.CategoryTitles

public class CategoryTitles
extends java.lang.Object

This class maintains a table of titles of categories. For each word it lists pairs level is the position in the path where the term appears.


Constructor Summary
CategoryTitles()
           
 
Method Summary
 java.util.Enumeration getTitles()
          Enumerates all titles.
 java.util.Vector matchingCategories(java.lang.String title)
           
 void relateTitles(Categoria category)
          links titles to their categories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryTitles

public CategoryTitles()
Method Detail

relateTitles

public void relateTitles(Categoria category)
links titles to their categories

matchingCategories

public java.util.Vector matchingCategories(java.lang.String title)
Returns:
vector of pairs in which title appears.

getTitles

public java.util.Enumeration getTitles()
Enumerates all titles.