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

Class Loader

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


public class 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

public Loader(Properties properties)

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

Parameters:
properties

Method Details

cmd

public String cmd(String cmdString)

executes cmdString in the current lserver session.

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

dbLoader

public static Loader dbLoader(String host, String dbname)

creates a new Loader by specifying the host and the dbname

Parameters:
host
dbname

dbrootLoader

public static Loader dbrootLoader(String host, String dbroot)

create a new Loader by specifying the host and the dbroot

Parameters:
host
dbroot

finalize

public void finalize()


release

public void release()

closes the connection