com.nurelm.nc3to4
Class NC3Conn

java.lang.Object
  extended bycom.nurelm.nc3to4.NC3Conn

public class NC3Conn
extends java.lang.Object

NC3

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


Constructor Summary
NC3Conn(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

NC3Conn

public NC3Conn(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.