User: user57
Date: 02/02/25 17:28:37
Modified: src/main/org/jboss/net/protocol/njar Handler.java
Removed: src/main/org/jboss/net/protocol/njar
NestedJarURLHandlerFactory.java
Log:
o Adding factory that will load handlers from org.jboss.net.protocol
as it appears that the URL version won't work with our custom class loading
Revision Changes Path
1.2 +3 -4 jboss-common/src/main/org/jboss/net/protocol/njar/Handler.java
Index: Handler.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-common/src/main/org/jboss/net/protocol/njar/Handler.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Handler.java 25 Feb 2002 02:29:42 -0000 1.1
+++ Handler.java 26 Feb 2002 01:28:37 -0000 1.2
@@ -26,7 +26,7 @@
import java.util.Map;
/**
- * A protocol handler for the 'njar' protocol.
+ * A protocol handler for the n(ested)jar protocol.
*
* <p>
* This is class allows you to use the njar: URL protocol. It is very
@@ -37,9 +37,8 @@
* An example of how to use this class is:
* <pre>
*
- * NestedJarURLHandlerFactory.start();
- * URL u = new URL("njar:njar:file:c:/test1.zip^/test2.zip^/hello.txt");
- * u.openStream();
+ * URL url = new URL("njar:njar:file:c:/test1.zip^/test2.zip^/hello.txt");
+ * url.openStream();
*
* </pre>
*
@@ -51,7 +50,7 @@
* <p>
* TODO: Add accessors so that the cache can be flushed.
*
- * @version <tt>$Revision: 1.1 $</tt>
+ * @version <tt>$Revision: 1.2 $</tt>
* @author <a href="mailto:[EMAIL PROTECTED]">Hiram Chirino</a>
*/
public class Handler
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development