Class URLFactory


  • public class URLFactory
    extends Object
    A factory for creating URL's. This factory creates URL's that in additional to the standard URL's capability of loading resources using http, https, file, etc. also makes it possible to load resources from the applications classpath. To load a resource from classpath, the url must be prefixed either with classpath: or resource: To ensure that we support classpath resources, this class should be used instead of new URL(pURL)
    Author:
    Kenneth Waldenstrom