Guest User

Untitled

a guest
Apr 30th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.67 KB | None | 0 0
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5. package nexus;
  6.  
  7. /**
  8.  *
  9.  * @author bcl
  10.  */
  11. public abstract class getConfig {
  12.  
  13.     /**
  14.      * default values
  15.      */
  16.     public String dbServer = "localhost";
  17.     public String dbPort = "3602";
  18.     public String dbUser = "root";
  19.     public String dbPass = "password";
  20.     public String database = "nexus";
  21.    
  22.     /**
  23.      * Loads the configuration
  24.      */
  25.    public abstract void load();
  26.    
  27.    public static void main(String [] args){
  28.    PropertiesConfiguration value = new PropertiesConfiguration();
  29.    System.out.println("" +value.dbServer);
  30.    }
  31. }
Add Comment
Please, Sign In to add comment