Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

CodeHTML Class Reference

Inheritance diagram for CodeHTML:
[legend]
Collaboration diagram for CodeHTML:
[legend]
List of all members.

Private Methods

 CodeHTML (String dir, String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html) throws IOException
final String codeToHTML (ByteSequence bytes, int method_number) throws IOException
final void findGotos (ByteSequence bytes, Method method, Code code) throws IOException
void writeMethod (Method method, int method_number) throws IOException
 CodeHTML (String dir, String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html) throws IOException
final String codeToHTML (ByteSequence bytes, int method_number) throws IOException
final void findGotos (ByteSequence bytes, Method method, Code code) throws IOException
void writeMethod (Method method, int method_number) throws IOException

Private Attributes

String class_name
Method[] methods
PrintWriter file
BitSet goto_set
ConstantPool constant_pool
ConstantHTML constant_html
Method[] methods

Static Private Attributes

boolean wide = false

Detailed Description

Convert code into HTML file.

Version:
Id:
CodeHTML.java,v 1.1.1.1 2002/01/24 03:44:02 pserver Exp
Author:
M. Dahm

Definition at line 14 of file lib/jpf/de/fub/bytecode/util/CodeHTML.java.


Member Function Documentation

final String CodeHTML::codeToHTML ByteSequence   bytes,
int   method_number
[inline, private]
 

Disassemble a stream of byte codes and return the string representation.

Parameters:
stream   data input stream
Returns:
String representation of byte code

Definition at line 48 of file src/de/fub/bytecode/util/CodeHTML.java.

final String CodeHTML::codeToHTML ByteSequence   bytes,
int   method_number
[inline, private]
 

Disassemble a stream of byte codes and return the string representation.

Parameters:
stream   data input stream
Returns:
String representation of byte code

Definition at line 48 of file lib/jpf/de/fub/bytecode/util/CodeHTML.java.

final void CodeHTML::findGotos ByteSequence   bytes,
Method   method,
Code   code
[inline, private]
 

Find all target addresses in code, so that they can be marked with <A NAME = ...>. Target addresses are kept in an BitSet object.

Definition at line 348 of file src/de/fub/bytecode/util/CodeHTML.java.

final void CodeHTML::findGotos ByteSequence   bytes,
Method   method,
Code   code
[inline, private]
 

Find all target addresses in code, so that they can be marked with <A NAME = ...>. Target addresses are kept in an BitSet object.

Definition at line 348 of file lib/jpf/de/fub/bytecode/util/CodeHTML.java.

void CodeHTML::writeMethod Method   method,
int   method_number
[inline, private]
 

Write a single method with the byte code associated with it.

Definition at line 459 of file src/de/fub/bytecode/util/CodeHTML.java.

void CodeHTML::writeMethod Method   method,
int   method_number
[inline, private]
 

Write a single method with the byte code associated with it.

Definition at line 459 of file lib/jpf/de/fub/bytecode/util/CodeHTML.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:06:55 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001