@ Override public InputStream locateStream ( final String uri , final File folder ) throws IOException { notNull ( folder ) ; final File jarPath = getJarFile ( folder ) ; if ( isSupported ( jarPath ) ) { return locateStreamFromJar ( uri , jarPath ) ; } return super . locateStream ( uri , folder ) ; }
Finds the specified URI pattern inside a JAR file . If the specified file isn t a valid JAR default strategy will be used instead .