Hi,
I am reading some file from an OSGi bundle and want to pass it as a file or URI to image.
OSGi etther lets me have and inputstream like
final URL url = context.getBundle().getEntry("/img/module1.png");
final InputStream inputStream = url.openConnection().getInputStream();
or gives a URL like
bundle://202.58:0/img/module1.png
The url is not valid for Vaadin since it expectes file:// and not bundle://. So, I am going more towards making my input stream somehow work with Image.
Any ideas ??, thanks