protected ResourceEntry findResourceInternal ( File file , String path ) { ResourceEntry entry = new ResourceEntry ( ) ; try { entry . source = getURI ( new File ( file , path ) ) ; entry . codeBase = getURL ( new File ( file , path ) , false ) ; } catch ( MalformedURLException e ) { return null ; } return entry ; }
Find specified resource in local repositories . This block will execute under an AccessControl . doPrivilege block .