com.mebigfatguy.pixelle
Class PixelleClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.mebigfatguy.pixelle.PixelleClassLoader

public class PixelleClassLoader
extends java.lang.ClassLoader

a dynamic class loader for holding generated pixel evaluation classes that are derived from PixelleEval. An instance of this class loader only exists as long as it takes to transform the bitmap.


Constructor Summary
PixelleClassLoader(java.lang.ClassLoader parent)
          constructs a new dynamic class loader derived from a parent loader as per the classloader delegation paradigm.
 
Method Summary
 void addClass(java.lang.String name, byte[] byteCode)
          adds a new dynamic class to the class loader
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PixelleClassLoader

public PixelleClassLoader(java.lang.ClassLoader parent)
constructs a new dynamic class loader derived from a parent loader as per the classloader delegation paradigm.

Parameters:
parent - the parent class loader
Method Detail

addClass

public void addClass(java.lang.String name,
                     byte[] byteCode)
adds a new dynamic class to the class loader

Parameters:
name - the name of the class to add
byteCode - the data that represents the bytecode of the class


Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.