Package org.jconfig

Examples of org.jconfig.FileWatcher


     * @param fileListener
     */
    public void addFileListener( FileListener fileListener ) {
        String val = ConfigurationUtils.getConfigProperty("jconfig.filewatcher","true");
        if ( val.equalsIgnoreCase("true") ) {
            watcher = new FileWatcher( getFile() );
            watcher.addFileListener( fileListener );
            watcher.start();
        }
    }
View Full Code Here

TOP

Related Classes of org.jconfig.FileWatcher

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.