On Thursday 12 July 2012 11:17 AM, Tang Yong wrote:
> >Can't you just change >OSGiArchiveHandler >like you had done earlier?
> On the previous thread, I have refered that :
>
> On expand method, if using WebBundleURLStreamHandler service,
You don't have to select the URL handler yourself. Just construct a new
URL based on user's input and deploymentContext.getSource() and call
openStream() on it. Everything will be done for you by URL pluggability
layer in JRE.
e.g., new URL(uriScheme+":" +
file.toURI().toExternalForm()+queryParams).openStream().
Thanks,
Sahoo