gpl.fredy.sqltools
Class DbCopy

java.lang.Object
  extended by gpl.fredy.sqltools.DbCopy

public class DbCopy
extends java.lang.Object


Constructor Summary
DbCopy(java.lang.String sDriver, java.lang.String sUrl, java.lang.String sUser, java.lang.String sPassword, boolean sAuth, java.lang.String sTable, java.lang.String dDriver, java.lang.String dUrl, java.lang.String dUser, java.lang.String dPassword, boolean dAuth, java.lang.String dTable, boolean cdTable, boolean dEmpty, boolean vb)
           
 
Method Summary
protected  void finalize()
           
 boolean getCreateDstTable()
          Get the value of createDstTable.
 java.lang.String getDstDriver()
          Get the value of dstDriver.
 boolean getDstEmpty()
          Get the value of dstEmpty.
 java.lang.String getDstPassword()
          Get the value of dstPassword.
 java.lang.String getDstTable()
          Get the value of dstTable.
 java.lang.String getDstUrl()
          Get the value of dstUrl.
 java.lang.String getDstUser()
          Get the value of dstUser.
 java.lang.String getSourceTable()
          Get the value of sourceTable.
 java.lang.String getSrcDriver()
          Get the value of the JDBC-Driver of the source.
 java.lang.String getSrcPassword()
          Get the value of srcPassword.
 java.lang.String getSrcUrl()
          Get the value of srcUrl.
 java.lang.String getSrcUser()
          Get the value of srcUser.
 boolean getUseAuthdst()
          Get the value of useAuthdst.
 boolean getUseAuthsrc()
          Get the value of useAuthsrc.
 boolean getVerbose()
          Get the value of verbose.
 java.lang.String getVersion()
           
static void main(java.lang.String[] args)
           
 void setCreateDstTable(boolean v)
          Set the value of createDstTable.
 void setDstDriver(java.lang.String v)
          Set the value of dstDriver.
 void setDstEmpty(boolean v)
          Set the value of dstEmpty.
 void setDstPassword(java.lang.String v)
          Set the value of dstPassword.
 void setDstTable(java.lang.String v)
          Set the value of dstTable.
 void setDstUrl(java.lang.String v)
          Set the value of dstUrl.
 void setDstUser(java.lang.String v)
          Set the value of dstUser.
 void setSourceTable(java.lang.String v)
          Set the value of sourceTable.
 void setSrcDriver(java.lang.String v)
          Set the value of JDBC-Driver of the source.
 void setSrcPassword(java.lang.String v)
          Set the value of srcPassword.
 void setSrcUrl(java.lang.String v)
          Set the value of srcUrl.
 void setSrcUser(java.lang.String v)
          Set the value of srcUser.
 void setUseAuthdst(boolean v)
          Set the value of useAuthdst
 void setUseAuthsrc(boolean v)
          Set the value of useAuthsrc
 void setVerbose(boolean v)
          Set the value of verbose.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbCopy

public DbCopy(java.lang.String sDriver,
              java.lang.String sUrl,
              java.lang.String sUser,
              java.lang.String sPassword,
              boolean sAuth,
              java.lang.String sTable,
              java.lang.String dDriver,
              java.lang.String dUrl,
              java.lang.String dUser,
              java.lang.String dPassword,
              boolean dAuth,
              java.lang.String dTable,
              boolean cdTable,
              boolean dEmpty,
              boolean vb)
Method Detail

getVersion

public java.lang.String getVersion()

getSrcDriver

public java.lang.String getSrcDriver()
Get the value of the JDBC-Driver of the source.

Returns:
Value of the JDBC-Driver of the source.

setSrcDriver

public void setSrcDriver(java.lang.String v)
Set the value of JDBC-Driver of the source.

Parameters:
v - Value to assign to JDBC-Driver of the source.

getSrcUrl

public java.lang.String getSrcUrl()
Get the value of srcUrl.

Returns:
Value of srcUrl.

setSrcUrl

public void setSrcUrl(java.lang.String v)
Set the value of srcUrl.

Parameters:
v - Value to assign to srcUrl.

getDstDriver

public java.lang.String getDstDriver()
Get the value of dstDriver.

Returns:
Value of dstDriver.

setDstDriver

public void setDstDriver(java.lang.String v)
Set the value of dstDriver.

Parameters:
v - Value to assign to dstDriver.

getDstUrl

public java.lang.String getDstUrl()
Get the value of dstUrl.

Returns:
Value of dstUrl.

setDstUrl

public void setDstUrl(java.lang.String v)
Set the value of dstUrl.

Parameters:
v - Value to assign to dstUrl.

getSrcUser

public java.lang.String getSrcUser()
Get the value of srcUser.

Returns:
Value of srcUser.

setSrcUser

public void setSrcUser(java.lang.String v)
Set the value of srcUser.

Parameters:
v - Value to assign to srcUser.

getSrcPassword

public java.lang.String getSrcPassword()
Get the value of srcPassword.

Returns:
Value of srcPassword.

setSrcPassword

public void setSrcPassword(java.lang.String v)
Set the value of srcPassword.

Parameters:
v - Value to assign to srcPassword.

getDstUser

public java.lang.String getDstUser()
Get the value of dstUser.

Returns:
Value of dstUser.

setDstUser

public void setDstUser(java.lang.String v)
Set the value of dstUser.

Parameters:
v - Value to assign to dstUser.

getDstPassword

public java.lang.String getDstPassword()
Get the value of dstPassword.

Returns:
Value of dstPassword.

setDstPassword

public void setDstPassword(java.lang.String v)
Set the value of dstPassword.

Parameters:
v - Value to assign to dstPassword.

getUseAuthsrc

public boolean getUseAuthsrc()
Get the value of useAuthsrc.

Returns:
Value of useAuthsrc.

setUseAuthsrc

public void setUseAuthsrc(boolean v)
Set the value of useAuthsrc

Parameters:
v - Value to assign to useAuthsrc.

getUseAuthdst

public boolean getUseAuthdst()
Get the value of useAuthdst.

Returns:
Value of useAuthdst.

setUseAuthdst

public void setUseAuthdst(boolean v)
Set the value of useAuthdst

Parameters:
v - Value to assign to useAuthdst.

getCreateDstTable

public boolean getCreateDstTable()
Get the value of createDstTable.

Returns:
Value of createDstTable.

setCreateDstTable

public void setCreateDstTable(boolean v)
Set the value of createDstTable.

Parameters:
v - Value to assign to createDstTable.

getSourceTable

public java.lang.String getSourceTable()
Get the value of sourceTable.

Returns:
Value of sourceTable.

setSourceTable

public void setSourceTable(java.lang.String v)
Set the value of sourceTable.

Parameters:
v - Value to assign to sourceTable.

getDstTable

public java.lang.String getDstTable()
Get the value of dstTable.

Returns:
Value of dstTable.

setDstTable

public void setDstTable(java.lang.String v)
Set the value of dstTable.

Parameters:
v - Value to assign to dstTable.

getDstEmpty

public boolean getDstEmpty()
Get the value of dstEmpty.

Returns:
Value of dstEmpty.

setDstEmpty

public void setDstEmpty(boolean v)
Set the value of dstEmpty.

Parameters:
v - Value to assign to dstEmpty.

getVerbose

public boolean getVerbose()
Get the value of verbose.

Returns:
Value of verbose.

setVerbose

public void setVerbose(boolean v)
Set the value of verbose.

Parameters:
v - Value to assign to verbose.

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

main

public static void main(java.lang.String[] args)