com.nurelm.nc41to42
Class NCConn

java.lang.Object
  extended bycom.nurelm.nc41to42.NCConn

public class NCConn
extends java.lang.Object

NC

Description:This class is just to obtain a connection to the NuContent3 database and then safely close it.


Constructor Summary
NCConn(java.lang.String url, java.lang.String user, java.lang.String pswd)
           
 
Method Summary
 void close()
          closes the connection to nucontent3 site database.
 java.sql.Connection getConnection()
          returns a connection object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NCConn

public NCConn(java.lang.String url,
              java.lang.String user,
              java.lang.String pswd)
Method Detail

getConnection

public java.sql.Connection getConnection()
returns a connection object

Returns:
a connection object

close

public void close()
closes the connection to nucontent3 site database.