@ Override public void onFileCreate ( File file ) { try { engine . addTemplate ( context . getBundle ( 0 ) , file . toURI ( ) . toURL ( ) ) ; } catch ( MalformedURLException e ) { LOGGER . error ( "Cannot compute the url of file {}" , file . getAbsolutePath ( ) , e ) ; } }
Callback called when an accepted file is created .