org.apache.commons.jnet
Class Installer

java.lang.Object
  extended by 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


Constructor Summary
Installer()
           
 
Method Summary
protected static Field getStaticURLStreamHandlerFactoryField()
           
static void setURLStreamHandlerFactory(URLStreamHandlerFactory factory)
          Set the url stream handler factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Installer

public Installer()
Method Detail

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.