edu.mayo.bsi.ngsportal
Class SetFileLocations

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.SetFileLocations

public class SetFileLocations
extends Object

This class creates a command line tool that takes a file whose tab delimited lines are of the form:

PI (<last name>_<first name>[_<lan ID>])
run name
sample name
location (NL | RA | X)
[File Size (bytes | KB | MB | GB)]

(where the first line is an ignored header line), and adds the information to the NGS Portal Database.

Invoked by java -jar SetFileLocations.jar [properties file] [data file]

The properties file needs to hold the user name and encrypted password for modifying the database

@author Gregory Dougherty


Constructor Summary
SetFileLocations()
           
 
Method Summary
static void main(String[] args)
           
static void setFileLocations(String propertiesPath, String dataFilePath)
          Parse the files and add the information to the database
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetFileLocations

public SetFileLocations()
Method Detail

main

public static final void main(String[] args)
Parameters:
args -

setFileLocations

public static final void setFileLocations(String propertiesPath,
                                          String dataFilePath)
Parse the files and add the information to the database

Parameters:
propertiesPath - Path to the properties file
dataFilePath - Path to the data file