edu.columbia.cs.ref.tool.loader.document.impl
Class SGMLLoader

java.lang.Object
  extended by edu.columbia.cs.ref.tool.loader.Loader<Document>
      extended by edu.columbia.cs.ref.tool.loader.document.DocumentLoader
          extended by edu.columbia.cs.ref.tool.loader.document.impl.SGMLLoader

public class SGMLLoader
extends DocumentLoader

Loader for the SGML files

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

Constructor Summary
SGMLLoader(java.util.Set<RelationshipType> relationshipTypes)
          Constructor of the loader
 
Method Summary
 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

SGMLLoader

public SGMLLoader(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 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 DocumentLoader
Parameters:
file - Represents the directory of the collection
Returns:
a set of Documents representing the documents of a collection