edu.columbia.cs.ref.tool.loader.document
Class DocumentLoader

java.lang.Object
  extended by edu.columbia.cs.ref.tool.loader.Loader<Document>
      extended by edu.columbia.cs.ref.tool.loader.document.DocumentLoader
Direct Known Subclasses:
ACE2003Loader, ACE2005Loader, AImedLoader, RawDocumentLoader, SGMLLoader

public abstract class DocumentLoader
extends Loader<Document>

Abstract class that represents the loader for a collection

Since:
2011-09-27
Version:
0.1
Author:
Pablo Barrio, Goncalo Simoes

Constructor Summary
DocumentLoader(java.util.Set<RelationshipType> relationshipTypes)
          Constructor of the loader
 
Method Summary
abstract  java.util.Set<Document> load(java.io.File file)
          Method that loads a set of documents given a File that represents the directory of the collection
 
Methods inherited from class edu.columbia.cs.ref.tool.loader.Loader
load
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentLoader

public DocumentLoader(java.util.Set<RelationshipType> relationshipTypes)
Constructor of the loader

Parameters:
relationshipTypes - Represents the types of relationships to be extracted from the collection including the constraints that they must fulfill
Method Detail

load

public abstract java.util.Set<Document> load(java.io.File file)
Method that loads a set of documents given a File that represents the directory of the collection

Specified by:
load in class Loader<Document>
Parameters:
file - Represents the directory of the collection
Returns:
a set of Documents representing the documents of a collection