Package org.berlin.patterns.swing.app.conf

Examples of org.berlin.patterns.swing.app.conf.GlobalConfiguration


*/
public class VerifyConfigurationFileLoader {
    private static final Logger LOGGER = LoggerFactory.getLogger(VerifyConfigurationFileLoader.class);   
    public static void main(final String [] args) {       
        System.out.println("Verifying ...");                   
        final GlobalConfiguration globalConf = new GlobalConfiguration().load(GlobalConfiguration.PATH);
        LOGGER.info(globalConf.toString());           
        System.out.println("Done");
       
    } // End of the method //
View Full Code Here


                      e.printStackTrace();
                    }
                  } // End of if  //             
                } // End of try - catch BLOCK READ PROP FILE //
            } // End of the if - file exists //       
            final GlobalConfiguration globalConf = new GlobalConfiguration().load(GlobalConfiguration.PATH);
            globalConf.loadFromDynamicScript(propsLocalFile);                       
            // End of load conf //           
            final ITextArea textArea = new OutputTextArea(ta);
            textArea.defaultSettings();
            ta.setEditable(false);
            ((BasicWindow) this.getBasicWindow()).setOutputTextArea(textArea);
            textArea.setText("System Loaded - " + Version.num + (new Date()) + "\nWith action.command set to help, hit the execute button for help.\nAlso visit browser at http://localhost:7181\nParseLogs - the premier way to scan for errors and data in log files\n" + globalConf.getTopMessage() + "\n");     
            return this;
        } // End of the method //
View Full Code Here

TOP

Related Classes of org.berlin.patterns.swing.app.conf.GlobalConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.