public void setTemplatesDirectory ( String templatesDirectory ) { this . logger . fine ( "Templates directory is now... " + templatesDirectory ) ; this . templatesDIR = Utils . isEmptyOrWhitespaces ( templatesDirectory ) ? null : new File ( templatesDirectory ) ; synchronized ( this . watcherLock ) { if ( this . templateWatcher != null ) resetWatcher ( ) ; } }
Sets the templates directory .