ej-technologies

org.gjt.jclasslib.io
Class ByteCodeWriter

java.lang.Object
  extended by org.gjt.jclasslib.io.ByteCodeWriter

public class ByteCodeWriter
extends java.lang.Object

Converts a list of instructions as defined in the package org.gjt.jclasslib.code to code.

Version:
$Revision: 1.5 $ $Date: 2003-08-18 07:58:12 $
Author:
Ingo Kegel

Method Summary
static byte[] writeByteCode(java.util.List instructions)
          Converts a list of instructions to code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeByteCode

public static byte[] writeByteCode(java.util.List instructions)
                            throws java.io.IOException
Converts a list of instructions to code.

Parameters:
instructions - the java.util.List with the instructions
Returns:
the code as an array of bytes
Throws:
java.io.IOException - if an exception occurs with the code

ej-technologies