public class FinanciaDataUpdator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.sql.Connection |
_dbConnection
The _db connection.
|
protected org.apache.log4j.Logger |
_logger
The _logger.
|
private static java.lang.String |
PROP_FILE
The Constant PROP_FILE.
|
Constructor and Description |
---|
FinanciaDataUpdator()
constructor.
|
Modifier and Type | Method and Description |
---|---|
private java.sql.Connection |
getDBConnection()
get database connection, initialize if not set up.
|
java.util.ArrayList |
getOutlayData()
Gets the outlay data.
|
private void |
initDBConnection()
initialize database connection.
|
static void |
main(java.lang.String[] args)
The main method.
|
protected org.apache.log4j.Logger _logger
private static final java.lang.String PROP_FILE
private java.sql.Connection _dbConnection
private void initDBConnection() throws java.sql.SQLException
java.sql.SQLException
- the SQL exceptionprivate java.sql.Connection getDBConnection() throws java.sql.SQLException
java.sql.SQLException
- the SQL exceptionpublic java.util.ArrayList getOutlayData()
public static void main(java.lang.String[] args)
args
- the arguments