@Override
	public InputStream createResourceAsStream(GeneratorContext context) {

		String path = context.getPath();
		InputStream is = null;
		if (FileNameUtils.hasImageExtension(path)) {
			try {
				is = context.getResourceReaderHandler().getResourceAsStream(path, false);
			} catch (ResourceNotFoundException e) {
				// Nothing to do
			}
		}

		return is;
	}
@ Override public InputStream createResourceAsStream ( GeneratorContext context ) { String path = context . getPath ( ) ; InputStream is = null ; if ( FileNameUtils . hasImageExtension ( path ) ) { try { is = context . getResourceReaderHandler ( ) . getResourceAsStream ( path , false ) ; } catch ( ResourceNotFoundException e ) { } } return is ; }
/*
(non-Javadoc)

@see net.jawr.web.resource.bundle.generator.StreamResourceGenerator#
createResourceAsStream
(net.jawr.web.resource.bundle.generator.GeneratorContext)