Package ejava.projects.edmv.blimpl
Class EDmvIngestCommand
- java.lang.Object
-
- ejava.projects.edmv.blimpl.EDmvIngestCommand
-
- Direct Known Subclasses:
EDmvMgmtCommand
public class EDmvIngestCommand extends Object
This class provides an example of how one might wrap the business logic within a Java main() versus JUnit so that it can be run in a more standard operational environment.
-
-
Constructor Summary
Constructors Constructor Description EDmvIngestCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Connection
getConnection()
private static InputStream
getInputStream()
private static void
loadDriver()
static void
main(String[] args)
-
-
-
Field Detail
-
log
private static final org.slf4j.Logger log
-
jdbcDriver
private static final String jdbcDriver
-
jdbcURL
private static final String jdbcURL
-
jdbcUser
private static final String jdbcUser
-
jdbcPassword
private static final String jdbcPassword
-
inputFile
private static final String inputFile
-
-
Method Detail
-
getInputStream
private static InputStream getInputStream() throws Exception
- Throws:
Exception
-
getConnection
private static Connection getConnection() throws Exception
- Throws:
Exception
-
main
public static void main(String[] args)
-
-