protected String resolveAndNormalize ( String path ) throws ResourceNotFoundException , IOException { List < Class < ? > > excluded = new ArrayList <> ( ) ; excluded . add ( ISassResourceGenerator . class ) ; Reader rd = null ; try { rd = rsHandler . getResource ( bundle , path , false , excluded ) ; addLinkedResource ( path ) ; } catch ( ResourceNotFoundException e ) { // Do nothing } String content = null ; if ( rd != null ) { content = IOUtils . toString ( rd ) ; if ( ! useAbsoluteUrl ) { CssImageUrlRewriter rewriter = new CssImageUrlRewriter ( ) ; content = rewriter . rewriteUrl ( path , this . scssPath , content ) . toString ( ) ; } content = SassRubyUtils . normalizeMultiByteString ( content ) ; } return content ; }
Finds and and normalized the content of the resource