Class ConnectionParameters

    • Field Detail

      • user

        protected java.lang.String user
      • password

        protected char[] password
      • conn

        protected java.sql.Connection conn
    • Constructor Detail

      • ConnectionParameters

        public ConnectionParameters​(java.lang.String user,
                                    char[] password)
    • Method Detail

      • close

        public abstract void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • connect

        public abstract java.sql.Connection connect()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTitle

        public abstract java.lang.String getTitle()
        Returns:
        A string to be displayed as window title that describes the connection.
      • getTreeNodeString

        public abstract java.lang.String getTreeNodeString()
        Returns:
        A string to describe this connection.
      • getGdalConnectionString

        public abstract java.lang.String getGdalConnectionString()
        Returns:
        A string in gdal georaster driver format to be used as source or destiny of a import or export operation.
      • getUser

        public java.lang.String getUser()
      • getPassword

        public char[] getPassword()
      • getConnection

        public java.sql.Connection getConnection()
      • closeConnection

        protected void closeConnection()