org.apache.commons.jnet
Class Installer
java.lang.Object
org.apache.commons.jnet.Installer
public class Installer
- extends Object
The installer is a general purpose class to install an own
URLStreamHandlerFactory
in any environment.
TODO Uninstall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Installer
public Installer()
setURLStreamHandlerFactory
public static void setURLStreamHandlerFactory(URLStreamHandlerFactory factory)
throws Exception
- Set the url stream handler factory.
- Parameters:
factory
-
- Throws:
Exception
getStaticURLStreamHandlerFactoryField
protected static Field getStaticURLStreamHandlerFactoryField()
Copyright © 2007-2008 The Apache Software Foundation. All Rights Reserved.