???  It's really simple matter.

The URLStreamHandler subclass only requires implementing the
openConnection() method.  This returns your implementation of the
URLConnection.  This subclass only really has to implement the
getInputStream() method.

So you end up with something like the attached example and usage like:

FilterInputStream is = ....;  // your encrypted filter input stream
URL url = new URL(null, "file://doesnotmatteratall", new MyUrlHandler(is));
builder.addModuleDescriptorProvider(new XmlModuleDescriptorProvider(url));

Attachment: MyUrlHandler.java
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to