Package com.nt.udc.db

Class DBInfo

java.lang.Object
com.nt.udc.db.DBInfo
All Implemented Interfaces:
com.nt.common.util.Persistable, Serializable

public class DBInfo extends Object implements Serializable, com.nt.common.util.Persistable
See Also:
  • Constructor Details

    • DBInfo

      public DBInfo(String inDriverName, String inProtocol, String inSubname, String inUserId, String inPassword)
      Preferred Constructor for the class.
      Parameters:
      inDriverName - The JDBC Driver name for the specfic RDBMS
      inProtocol - 2nd componenet of the standard JDBC URL "jdbc:subprotocol:subname"
      inSubname - 3rd component of standard JDBC URL
      inPassword - Database password
      inUserid - Userid for this Database
    • DBInfo

      public DBInfo(String inDriverName, String inProtocol, String inHost, String inSubsubname, String inUserId, String inPassword)
      Preferred Constructor for the class.
      Parameters:
      inDriverName - The JDBC Driver name for the specfic RDBMS
      inProtocol - 2nd componenet of the standard JDBC URL "jdbc:subprotocol:subname"
      inHost - Generally, combined with subsubname to make up subname component of standard JDBC URL
      inSubsubname - Generally, combined with host to make up subname component of standard JDBC URL
      inPassword - Database password
      inUserid - Userid for this Database
    • DBInfo

      public DBInfo(String line)
    • DBInfo

      public DBInfo()
  • Method Details

    • getDriverName

      public String getDriverName()
    • getSubProtocol

      public String getSubProtocol()
    • getSubName

      public String getSubName()
    • getHost

      public String getHost()
    • getSubSubName

      public String getSubSubName()
    • getUserId

      public String getUserId()
    • getPassword

      public String getPassword()
    • parseLine

      public Vector parseLine(String line, String delim)
    • toLine

      public String toLine()
      Specified by:
      toLine in interface com.nt.common.util.Persistable
    • fromLine

      public void fromLine(String line)
      Specified by:
      fromLine in interface com.nt.common.util.Persistable