Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package nexus;
- /**
- *
- * @author bcl
- */
- public abstract class getConfig {
- /**
- * default values
- */
- public String dbServer = "localhost";
- public String dbPort = "3602";
- public String dbUser = "root";
- public String dbPass = "password";
- public String database = "nexus";
- /**
- * Loads the configuration
- */
- public abstract void load();
- public static void main(String [] args){
- PropertiesConfiguration value = new PropertiesConfiguration();
- System.out.println("" +value.dbServer);
- }
- }
Add Comment
Please, Sign In to add comment