|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.ConfigReader
public class ConfigReader
Class read configuration parameters from configuration XML file.
Field Summary | |
---|---|
static java.lang.String |
SPACE_ESCAPE
|
Constructor Summary | |
---|---|
ConfigReader()
|
Method Summary | |
---|---|
boolean |
getAfterLastRow()
This method read value of bAfterLastRow parameter |
boolean |
getColumnsSupported()
This method read value of bGetColumnsSupported parameter |
java.lang.String |
getConnectionPrefix()
This method read value of bConnectionPrefix parameter |
java.lang.String |
getDateFormat()
This method read value from parameter |
java.lang.String |
getDriverClassName()
This method read value of strDriverClassName parameter |
boolean |
getEnableJumpResult()
This method read value of bEnableJumpResult parameter |
boolean |
getEnableOrderBy()
This method read value of bEnableOrderBy parameter |
boolean |
getFileSystemDatabase()
This method read value of bFileSystemDatabase parameter |
int |
getFirstColumnResult()
This method read value of iFirstColumnResult parameter |
java.util.Hashtable |
getIsNumberMapp()
This method read value of isNumberMapp parameter |
java.util.Hashtable |
getJavaTypeMapings()
This method read value of javaTypeMapp parameter |
boolean |
getMaxRowsSupported()
This method read value of bSetMaxRowsSupported parameter |
java.lang.String |
getOidColumnName()
This method read value of oidColumnName parameter |
java.lang.String |
getOidDbType()
This method read value from parameter |
boolean |
getReadingOrderRelevant()
This method read value of bReadingOrderRelevant parameter |
boolean |
getRequiredUser()
This method read value of bRequiredUser parameter |
boolean |
getRowCountEnabled()
This method read value of bRowCountEnabled parameter |
boolean |
getSetCursorNameEnabled()
This method read value of bSetCursorNameEnabled parameter |
boolean |
getSetEmptyStringAsNull()
This method read value of bSetEmptyStringAsNull parameter |
boolean |
getSetFetchSizeEnabled()
This method read value of bSetFetchSizeEnabled parameter |
java.lang.String |
getVendorFileName()
This method read value of strVendorFileName parameter |
java.lang.String |
getVersionColumnName()
This method read value of versionColumnName parameter |
java.lang.String |
getVersionDbType()
This method read value from parameter |
boolean |
isBinaryObject(java.lang.String s)
Method isNumber is used for checking column type. |
boolean |
isDate(java.lang.String s)
Method isDate is used for checking column type. |
boolean |
isNumber(java.lang.String s)
Method isNumber is used for checking column type. |
boolean |
isWithN(java.lang.String s)
Method isWithN is used for checking column type. |
void |
readConfigValues(java.lang.String dbVendor,
java.lang.String driverName,
java.lang.String strType)
Method readConfigValues read specific values for desired database(dbVendor) and puts them into global variables. |
void |
setConfJarStructure(java.lang.String confJarStructure)
This method set value of confJarStructure parameter |
void |
setLogger(Logger logger)
This method set value of echo parameter |
void |
setVendorFileName(java.lang.String fileName)
This method set value of strVendorFileName parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SPACE_ESCAPE
Constructor Detail |
---|
public ConfigReader()
Method Detail |
---|
public void readConfigValues(java.lang.String dbVendor, java.lang.String driverName, java.lang.String strType) throws LoaderException
dbVendor
- - String - type of source database (table);strType
- - String - type of Loader database (source or target);driverName
- is name of the driver
LoaderException
public java.util.Hashtable getJavaTypeMapings()
public java.util.Hashtable getIsNumberMapp()
public boolean isNumber(java.lang.String s) throws LoaderException
s
- String that represents column type.
LoaderException
public boolean isBinaryObject(java.lang.String s) throws LoaderException
s
- String that represents column type.
LoaderException
public boolean isDate(java.lang.String s) throws LoaderException
s
- String that represents column type.
LoaderException
public boolean isWithN(java.lang.String s) throws LoaderException
s
- String that represents column type.
LoaderException
public boolean getColumnsSupported()
public boolean getMaxRowsSupported()
public java.lang.String getOidColumnName()
public java.lang.String getVersionColumnName()
public java.lang.String getConnectionPrefix()
public boolean getReadingOrderRelevant()
public boolean getSetEmptyStringAsNull()
public boolean getSetCursorNameEnabled()
public boolean getSetFetchSizeEnabled()
public boolean getRowCountEnabled()
public boolean getEnableOrderBy()
public boolean getAfterLastRow()
public boolean getFileSystemDatabase()
public boolean getEnableJumpResult()
public boolean getRequiredUser()
public int getFirstColumnResult()
public java.lang.String getDriverClassName()
public java.lang.String getVendorFileName()
public void setVendorFileName(java.lang.String fileName)
fileName
- set dbVendorFileName which is used for reading separated database conf files.public void setLogger(Logger logger)
logger
- set Logger which is used for log file.public java.lang.String getOidDbType()
public java.lang.String getVersionDbType()
public java.lang.String getDateFormat()
public void setConfJarStructure(java.lang.String confJarStructure)
confJarStructure
- is value of parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |