⇒ Index (Frames) | ⇒ Index (No Frames) | ⇒ Package | ⇒ Package Tree | ⇒ Full Tree 
com.sap.dbtech.powertoys

Class Loader

java.lang.Object|
+--com.sap.dbtech.powertoys.Loader


publicclass Loader
extends java.lang.Object

Executes loader commands for SAP DB

Constructor Summary

Loader(Properties properties)

creates a new Loader.

Method Summary

String

cmd(String cmdString)

executes cmdString in the current lserver session.

static Loader

dbLoader(String host,String dbname)

creates a new Loader by specifying the host and the dbname

static Loader

dbrootLoader(String host,String dbroot)

create a new Loader by specifying the host and the dbroot

void

finalize()

void

release()

closes the connection

Constructor Details

Loader

publicLoader(Properties properties)

creates a new Loader. The following properties are used by this class:

Parameters:
properties

Method Details

cmd

publicStringcmd(String cmdString)

executes cmdString in the current lserver session.

Parameters:
cmdString
Throws:
LoaderException -
com.sap.dbtech.rte.comm.RTEException -

dbLoader

publicstatic LoaderdbLoader(String host,String dbname)

creates a new Loader by specifying the host and the dbname

Parameters:
host
dbname

dbrootLoader

publicstatic LoaderdbrootLoader(String host,String dbroot)

create a new Loader by specifying the host and the dbroot

Parameters:
host
dbroot

finalize

publicvoidfinalize()


release

publicvoidrelease()

closes the connection