| |
|
| java.lang.Object org.webdocwf.util.loader.JdbcParametersElement
JdbcParametersElement | public class JdbcParametersElement (Code) | | JdbcParametersElement class sets the jdbc parameters
author: Radoslav Dutina version: 1.0 |
getAbsolutePathFromDatabaseURL | public String getAbsolutePathFromDatabaseURL(String urlToDatabase) throws LoaderException(Code) | | This method make absoulte path from relative path
Parameters: urlToDatabase - relative path absolute path throws: LoaderException - |
getDbVendor | public String getDbVendor()(Code) | | Method return DbVendor for source database,or if that
parameter is not defined method will return default value which is
strDbVendorDefault
DbVendor |
getDriverName | public String getDriverName()(Code) | | Method return DriverName for source database,or if that
parameter is not defined method will return default value which is
strDriverNameDefault
DriverName |
getJDBCSourceParameterConnection | public String getJDBCSourceParameterConnection() throws LoaderException(Code) | | Method return JDBCSourceParameterConnection,or if that
parameter is not defined method will return default value which is
strJDBCDefaultSourceParameterConnection
JDBCSourceParameterConnection throws: LoaderException - |
getJDBCSourceParameterDriver | public String getJDBCSourceParameterDriver()(Code) | | Method return JDBCSourceParameterDriver,or if that
parameter is not defined method will return default value which is
strJDBCDefaultSourceParameterDriver
JDBCSourceParameterDriver |
getJDBCSourceParameterPassword | public String getJDBCSourceParameterPassword()(Code) | | Method return JDBCSourceParameterDriver,or if that
parameter is not defined method will return default value which is
strJDBCDefaultSourceParameterDriver
JDBCSourceParameterDriver |
getJDBCSourceParameterUser | public String getJDBCSourceParameterUser()(Code) | | Method return JDBCSourceParameterUser,or if that
parameter is not defined method will return default value which is
strJDBCDefaultSourceParameterUser
JDBCSourceParameterUser |
getJDBCTargetParameterConnection | public String getJDBCTargetParameterConnection()(Code) | | Method return JDBCTargetParameterConnection,or if that
parameter is not defined method will return default value which is
strJDBCTargetParameterConnection
JDBCTargetParameterConnection |
getJDBCTargetParameterDriver | public String getJDBCTargetParameterDriver()(Code) | | Method return JDBCTargetParameterDriver,or if that
parameter is not defined method will return default value which is
strJDBCDefaultTargetParameterDriver
JDBCTargetParameterDriver |
getJDBCTargetParameterPassword | public String getJDBCTargetParameterPassword()(Code) | | Method return JDBCTargetParameterPassword,or if that
parameter is not defined method will return default value which is
strJDBCDefaultTargetParameterPassword
JDBCTargetParameterPassword |
getJDBCTargetParameterUser | public String getJDBCTargetParameterUser()(Code) | | Method return JDBCTargetParameterPassword,or if that
parameter is not defined method will return default value which is
strJDBCDefaultTargetParameterPassword
JDBCTargetParameterPassword |
getTargetConnections | public Vector getTargetConnections()(Code) | | This method read the value of targetConnections parameter
value of parameter |
getTargetDBVendor | public String getTargetDBVendor()(Code) | | Method return TargetDBVendor,or if that
parameter is not defined method will return default value which is
strTargetDBVendorDefault
TargetDBVendor |
getTargetDriverName | public String getTargetDriverName()(Code) | | Method return TargetDriverName,or if that
parameter is not defined method will return default value which is
strTargetDriverNameDefault
TargetDriverName |
parseImportJDBCDefaultParameters | public boolean parseImportJDBCDefaultParameters(InputStream inStream) throws LoaderException(Code) | | Method parseImportJDBCDefaultParameters is used to analyse import XML file
about Default JDBC parameters tags.
Parameters: inStream - Data from inputXML file which is converted into InputStream. boolean - true default jdbc parameters exists, false otherwise throws: LoaderException - |
parseImportJDBCParameters | public void parseImportJDBCParameters(InputStream inStream, int number, String tagName) throws LoaderException(Code) | | Method parseImportJDBCParameters is used to analyse import XML file
about JDBC parameters tags. Puts values of first importDefinition's JDBC parameters in global variables.
Parameters: inStream - Data from inputXML file which is converted into InputStream. Parameters: number - order number of importDefinition or sql tag which is proceeded. Parameters: tagName - name of tag which is proceeded throws: LoaderException - |
parseTargetJDBCParameters | public void parseTargetJDBCParameters(InputStream inStream) throws LoaderException(Code) | | Method parseTargetJDBCParameters is used to analyse import XML file
Parameters: inStream - Data from inputXML file which is converted into InputStream. throws: LoaderException - |
setConfigReaderSource | public void setConfigReaderSource(ConfigReader configReader)(Code) | | Set ConfigReader of this class.
Parameters: configReader - defines ConfigReader object which is used to store dataabout source driver. |
setJDBCSourceParameterConnection | public void setJDBCSourceParameterConnection(String arg)(Code) | | This method set value of strJDBCSourceParameterConnection parameter
Parameters: arg - set JDBCSouceParameterConnection to value of arg |
setJDBCSourceParameterDriver | public void setJDBCSourceParameterDriver(String arg)(Code) | | This method set value of strJDBCSourceParameterDriver parameter
Parameters: arg - set JDBCSouceParameterDriver to value of arg |
setJDBCSourceParameterPassword | public void setJDBCSourceParameterPassword(String arg)(Code) | | This method set value of strJDBCSourceParameterPassword parameter
Parameters: arg - setJDBCSourceParameterPassword to value of arg |
setJDBCSourceParameterUser | public void setJDBCSourceParameterUser(String arg)(Code) | | This method set value of strJDBCSourceParameterUser parameter
Parameters: arg - set JDBCSourceParameterUser to value of arg |
setJDBCTargetParameterConnection | public void setJDBCTargetParameterConnection(String arg)(Code) | | This method set value of strJDBCTargetParameterConnection parameter
Parameters: arg - set JDBCTargetParameterConnection to value of arg |
setJDBCTargetParameterDriver | public void setJDBCTargetParameterDriver(String arg)(Code) | | This method set value of strJDBCTargetParameterDriver parameter
Parameters: arg - set JDBCTargetParameterDriver to value of arg |
setJDBCTargetParameterPassword | public void setJDBCTargetParameterPassword(String arg)(Code) | | This method set value of strJDBCTargetParameterPassword parmeter
Parameters: arg - set JDBCTargetParameterPassword to value of arg |
setJDBCTargetParameterUser | public void setJDBCTargetParameterUser(String arg)(Code) | | This method set value of strJDBCTargetParameterUser parameter
Parameters: arg - set JDBCTargetParameterUser to value of arg |
setLoaderJobPath | public void setLoaderJobPath(String loaderJobName)(Code) | | This method set the absolute path to loader job file
Parameters: loaderJobName - is relativ path to loader job file |
setLogger | public void setLogger(Logger logger)(Code) | | Set Logger of this class.
Parameters: logger - Logger object which is used to write to log and standard output. |
|
|
|