Revision: 7772
Author: victormote
Date: 2006-07-08 11:29:35 -0700 (Sat, 08 Jul 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7772&view=rev
Log Message:
-----------
Use delegate scheme, as per Vincent Hennebert's latest patch.
Modified Paths:
--------------
trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java
Modified: trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java 2006-07-08 18:27:56 UTC (rev 7771)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java 2006-07-08 18:29:35 UTC (rev 7772)
@@ -78,4 +78,9 @@
factory.registerProtocol(protocol, handler);
}
+ public boolean isValid() {
+ return FOrayURLStreamHandlerFactory.getURLStreamHandlerFactory()
+ != null;
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|