[Pixelle-commit] SF.net SVN: pixelle: [72] trunk/pixelle/src/com/mebigfatguy/pixelle/ PixelleClassL
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-06-25 02:51:43
|
Revision: 72
http://pixelle.svn.sourceforge.net/pixelle/?rev=72&view=rev
Author: dbrosius
Date: 2008-06-24 19:51:52 -0700 (Tue, 24 Jun 2008)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java 2008-06-25 02:48:55 UTC (rev 71)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleClassLoader.java 2008-06-25 02:51:52 UTC (rev 72)
@@ -18,11 +18,28 @@
*/
package com.mebigfatguy.pixelle;
+/**
+ * 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.
+ */
public class PixelleClassLoader extends ClassLoader {
+ /**
+ * constructs a new dynamic class loader derived from a parent loader as per
+ * the classloader delegation paradigm.
+ *
+ * @param parent the parent class loader
+ */
public PixelleClassLoader(ClassLoader parent) {
super(parent);
}
+ /**
+ * adds a new dynamic class to the class loader
+ *
+ * @param name the name of the class to add
+ * @param byteCode the data that represents the bytecode of the class
+ */
public void addClass(String name, byte[] byteCode) {
defineClass(name, byteCode, 0, byteCode.length);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|