Class HiddenConfig


  • public class HiddenConfig
    extends java.lang.Object
    This class reads a hidden configuration file in the users home directory. If no such file exists, a new one can be created.
    Author:
    hellrich
    • Constructor Summary

      Constructors 
      Constructor Description
      HiddenConfig()
      Reads a hidden configuration file in the users home directory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPassword​(java.lang.String DBConnectionName)  
      java.lang.String getUsername​(java.lang.String DBConnectionName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HiddenConfig

        public HiddenConfig()
        Reads a hidden configuration file in the users home directory.
    • Method Detail

      • getUsername

        public java.lang.String getUsername​(java.lang.String DBConnectionName)
        Returns:
        - The username in the hidden configuration file
      • getPassword

        public java.lang.String getPassword​(java.lang.String DBConnectionName)
        Returns:
        - The password in the hidden configuration file