tp.loader
Class LoaderReuters

java.lang.Object
  extended by 
      extended by tp.loader.LoaderReuters
All Implemented Interfaces:
LoaderInterface

public class LoaderReuters
extends
implements LoaderInterface

Class for loading the text files in the Reuters dataset format.


Constructor Summary
LoaderReuters()
           
 
Method Summary
protected  java.lang.Void doInBackground()
           
 DocumentsDatabase loadFromFiles(LinkToFiles link_files)
          Method, which processes files from Reuters dataset and stores its contents into a database of documents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tp.loader.LoaderInterface
addPropertyChangeListener
 

Constructor Detail

LoaderReuters

public LoaderReuters()
Method Detail

loadFromFiles

public DocumentsDatabase loadFromFiles(LinkToFiles link_files)
Method, which processes files from Reuters dataset and stores its contents into a database of documents. a jejich obsah uklada do databaze dokumentu.

Specified by:
loadFromFiles in interface LoaderInterface
Parameters:
link_files - links to files for loading
Returns:
reference to the database of documents

doInBackground

protected java.lang.Void doInBackground()
                                 throws java.lang.Exception
Throws:
java.lang.Exception