ter.API.ClassLoader
Class JARClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--ter.API.ClassLoader.GeneralClassLoader
              |
              +--ter.API.ClassLoader.JARClassLoader

public class JARClassLoader
extends GeneralClassLoader

Title: JavInspector

Description: Custom class loader to load classes from jar

Copyright: Copyright (c) 2003

Company: Université de Nice Sophia Antipolis (UNSA)

Version:
1.0
Author:
Jerôme GAHIDE - Lucas CHARBIT - Gabriel ZERBIB - Xavier GALBOIS

Constructor Summary
JARClassLoader(java.lang.String jarName)
          Default constructor
 
Method Summary
 void setFilePrefix(java.lang.String str)
          changes the current jar archive in which we search classes
 
Methods inherited from class ter.API.ClassLoader.GeneralClassLoader
loadClass, loadClass, setClassNameReplacementChar
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JARClassLoader

public JARClassLoader(java.lang.String jarName)
               throws java.io.IOException
Default constructor

Parameters:
jarName - the jar archive from which we shouldload classes
Method Detail

setFilePrefix

public void setFilePrefix(java.lang.String str)
                   throws java.io.IOException
changes the current jar archive in which we search classes

Specified by:
setFilePrefix in class GeneralClassLoader
Parameters:
str -
java.io.IOException