comirva.util.external
Class TermProfileContentIndexing

java.lang.Object
  extended by comirva.util.external.TermProfileContentIndexing

public class TermProfileContentIndexing
extends Object


Constructor Summary
TermProfileContentIndexing(File rootDir, File termFile, File audioFileExtensions, File imageFileExtensions, File videoFileExtensions)
           
 
Method Summary
 void generateEntityTermProfiles()
          From the root directory that contains subdirs (one for each entity/artist) and the list of terms, this methods generates EntityTermProfiles for every subdir (entity) and serializes the information as XML-files using the classes EntityTermProfile and SingleTermList.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermProfileContentIndexing

public TermProfileContentIndexing(File rootDir,
                                  File termFile,
                                  File audioFileExtensions,
                                  File imageFileExtensions,
                                  File videoFileExtensions)
Parameters:
rootDir - a File that points to the root directory
termList - a File containing the term list that should be used for indexing
audioFileExtensions -
imageFileExtensions -
videoFileExtensions -
Method Detail

generateEntityTermProfiles

public void generateEntityTermProfiles()
From the root directory that contains subdirs (one for each entity/artist) and the list of terms, this methods generates EntityTermProfiles for every subdir (entity) and serializes the information as XML-files using the classes EntityTermProfile and SingleTermList.


main

public static void main(String[] args)