org.jhuapl.edu.sages.etl.oldstuff
Class EmptyTestOpenCsvJar
java.lang.Object
org.jhuapl.edu.sages.etl.oldstuff.EmptyTestOpenCsvJar
public class EmptyTestOpenCsvJar
- extends Object
- Author:
- POKUAM1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyTestOpenCsvJar
public EmptyTestOpenCsvJar(String dbms,
int portNumber,
String userName,
String password,
String serverName,
String dbName)
throws SagesEtlException
- Parameters:
dbms
- portNumber
- userName
- password
- serverName
- dbName
-
- Throws:
SagesEtlException
EmptyTestOpenCsvJar
public EmptyTestOpenCsvJar()
throws SagesEtlException
- Parameters:
dbms
- portNumber
- userName
- password
- serverName
- dbName
-
- Throws:
SagesEtlException
initializeProperties
protected void initializeProperties(ETLProperties etlProperties)
throws SagesEtlException
- Throws:
SagesEtlException
abort
public static SagesEtlException abort(String msg,
Throwable e)
- returns a SagesEtlException that wraps the original exception
- Parameters:
msg
- SAGES ETL message to displaye
- the original exception
- Returns:
- SagesEtlException
main
public static void main(String[] args)
throws Exception
- Parameters:
args
-
- Throws:
Exception
getConnection
public Connection getConnection()
throws SagesEtlException
- Establishes database connection to the target database
- Returns:
- Connection
- Throws:
SQLException
SagesEtlException
extractHeaderColumns
protected static void extractHeaderColumns(EmptyTestOpenCsvJar tocj)
throws FileNotFoundException,
IOException
- Parameters:
tocj
-
- Throws:
FileNotFoundException
IOException
determineHeaderColumns
protected static String[] determineHeaderColumns(File file)
throws FileNotFoundException,
IOException
- Parameters:
master_entries_rawdata
- file
-
- Throws:
FileNotFoundException
IOException
Copyright © 2013 Johns Hopkins University Applied Physics Laboratory. All rights reserved.