net.sourceforge.fluxion.pussycat.util
Class JarPlugin

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.util.JarPlugin

public class JarPlugin
extends java.lang.Object

A class for representing a plugin

Author:
Rob Davey

Constructor Summary
JarPlugin(java.lang.String path, JarClassLoader jcl)
          Creates a new JarClassLoader for the specified url.
 
Method Summary
 JarClassLoader getClassLoader()
          Gets the classLoader attribute of the JarPlugin object
 java.lang.String getName()
          Gets the name attribute of the JarPlugin object
 java.lang.String getPath()
          Gets the path attribute of the JarPlugin object
 java.util.zip.ZipFile getZipFile()
          Gets the zipFile attribute of the JarPlugin object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarPlugin

public JarPlugin(java.lang.String path,
                 JarClassLoader jcl)
          throws java.io.IOException
Creates a new JarClassLoader for the specified url.

Parameters:
path - the path of the .jar file
jcl - the classloader of this .jar file
Throws:
java.io.IOException - Description of the Exception
Method Detail

getName

public java.lang.String getName()
Gets the name attribute of the JarPlugin object

Returns:
The name value

getClassLoader

public JarClassLoader getClassLoader()
Gets the classLoader attribute of the JarPlugin object

Returns:
The classLoader value

getPath

public java.lang.String getPath()
Gets the path attribute of the JarPlugin object

Returns:
The path value

getZipFile

public java.util.zip.ZipFile getZipFile()
Gets the zipFile attribute of the JarPlugin object

Returns:
The zipFile value


Copyright © 2010. All Rights Reserved.