public final void setConfigurationFiles ( final Map < String , String > configurationFiles ) throws URISyntaxException { this . configurationFiles . clear ( ) ; this . configurationFileLastModifiedTimes . clear ( ) ; for ( Map . Entry < String , String > entry : configurationFiles . entrySet ( ) ) { if ( ! entry . getValue ( ) . contains ( ":/" ) ) { // assume is a file this . configurationFiles . put ( entry . getKey ( ) , new File ( entry . getValue ( ) ) . toURI ( ) ) ; } else { this . configurationFiles . put ( entry . getKey ( ) , new URI ( entry . getValue ( ) ) ) ; } } if ( this . configFileLoader != null ) { this . validateConfigurationFiles ( ) ; } }
The setter for setting configuration file . It will convert the value to a URI .