protected List < JSSourceFile > getJSSource ( String mid , IResource resource , HttpServletRequest request , List < ICacheKeyGenerator > keyGens ) throws IOException { List < JSSourceFile > result = new ArrayList < JSSourceFile > ( 1 ) ; InputStream in = resource . getInputStream ( ) ; JSSourceFile sf = JSSourceFile . fromInputStream ( mid , in ) ; sf . setOriginalPath ( resource . getURI ( ) . toString ( ) ) ; in . close ( ) ; result . add ( sf ) ; return result ; }
Overrideable method for getting the source modules to compile