public void init ( ) { for ( Resource resource : resources ) { if ( resource . exists ( ) ) { try ( InputStream in = resource . getInputStream ( ) ) { readPropertyFile ( in ) ; } catch ( IOException ex ) { log . debug ( "Unable to load queries from " + resource . getDescription ( ) , ex ) ; } } else { log . info ( "Query file at {} not found. Ignoring it..." , resource . getDescription ( ) ) ; } } }
Checks and starts the reading of the given Resources .