edu.stanford.nlp.international.process
Class DistributionPackage

java.lang.Object
  extended by edu.stanford.nlp.international.process.DistributionPackage

public class DistributionPackage
extends Object

Adds data files to a tar'd / gzip'd distribution package. Data sets marked with the DISTRIB parameter in ConfigParser are added to the archive.

Author:
Spence Green

Constructor Summary
DistributionPackage()
           
 
Method Summary
 void addFiles(List<String> fileList)
          Adds a listing of files to the distribution archive
 boolean make(String distribName)
          Create the distribution and name the file according to the specified parameter.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionPackage

public DistributionPackage()
Method Detail

addFiles

public void addFiles(List<String> fileList)
Adds a listing of files to the distribution archive

Parameters:
fileList - List of full file paths

make

public boolean make(String distribName)
Create the distribution and name the file according to the specified parameter.

Parameters:
distribName - The name of distribution
Returns:
True if the distribution is built. False otherwise.

toString

public String toString()
Overrides:
toString in class Object


Stanford NLP Group