org.retro.gis
Class DefaultJarLoader

java.lang.Object
  extended byorg.retro.gis.DefaultJarLoader

public class DefaultJarLoader
extends java.lang.Object

The Jar Loader system is used for loading bot modules, any jar should work as long as the PircBotInterface is included.

See Also:
PircBotInterface

Constructor Summary
DefaultJarLoader()
           
 
Method Summary
 java.lang.Class getClass(java.lang.String cName)
           
 void load()
           
 void setupLoader(java.lang.String rootDir, java.lang.String _jarfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJarLoader

public DefaultJarLoader()
Method Detail

setupLoader

public void setupLoader(java.lang.String rootDir,
                        java.lang.String _jarfile)
                 throws java.io.IOException
Throws:
java.io.IOException

getClass

public java.lang.Class getClass(java.lang.String cName)
                         throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

load

public void load()
          throws java.io.IOException
Throws:
java.io.IOException