comirva.web.crawling.agmis
Class SubsetCollectionCreation_Linux

java.lang.Object
  extended by comirva.web.crawling.agmis.SubsetCollectionCreation_Linux

public class SubsetCollectionCreation_Linux
extends Object

Creates a subset of the complete artist collection's retrieved Web pages given a text file with the complete paths to the crawl dirs of each artist that should be included. To this end, symbolic links to the original file locations are used. ! Note that this implementation only works under Linux !


Field Summary
static File PATHS
           
static File ROOT_DIR
           
static File SUBSET_DIR
           
 
Constructor Summary
SubsetCollectionCreation_Linux()
           
 
Method Summary
 void createSubset()
          Walks through all directories under ROOT_DIR creating symlinks under SUBSET_DIR according to PATHS.
static int doWaitFor(Process p)
          Method to perform a "wait" for a process and return its exit value.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_DIR

public static final File ROOT_DIR

SUBSET_DIR

public static final File SUBSET_DIR

PATHS

public static final File PATHS
Constructor Detail

SubsetCollectionCreation_Linux

public SubsetCollectionCreation_Linux()
Method Detail

createSubset

public void createSubset()
Walks through all directories under ROOT_DIR creating symlinks under SUBSET_DIR according to PATHS.


doWaitFor

public static int doWaitFor(Process p)
Method to perform a "wait" for a process and return its exit value. This is a workaround for process.waitFor() never returning.


main

public static void main(String[] args)