org.webdocwf.util.loader
Class OctopusClassLoader

java.lang.Object
  extended byorg.webdocwf.util.loader.OctopusClassLoader

public class OctopusClassLoader
extends java.lang.Object

OctopusClassLoader add files to System Class Loader

Version:
1.0
Author:
Zoran Milakovic

Constructor Summary
OctopusClassLoader()
           
 
Method Summary
static void addFile(java.io.File f)
          This method add file to System class loader
static void addFile(java.lang.String s)
          This method add file to System class loader
static void addURL(java.net.URL u)
          This method add file to System class loader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OctopusClassLoader

public OctopusClassLoader()
Method Detail

addFile

public static void addFile(java.lang.String s)
                    throws java.io.IOException
This method add file to System class loader

Parameters:
s - defines the path to file object (string)
Throws:
java.io.IOException

addFile

public static void addFile(java.io.File f)
                    throws java.io.IOException
This method add file to System class loader

Parameters:
f - defines the file object
Throws:
java.io.IOException

addURL

public static void addURL(java.net.URL u)
                   throws java.io.IOException
This method add file to System class loader

Parameters:
u - defines the url object
Throws:
java.io.IOException


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.