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

Class2HTML Class Reference

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

Public Methods

 Class2HTML (JavaClass java_class, String dir) throws IOException
 Class2HTML (JavaClass java_class, String dir) throws IOException

Static Public Methods

void main (String argv[])
void main (String argv[])

Private Methods

void writeMainHTML (AttributeHTML attribute_html) throws IOException
void writeMainHTML (AttributeHTML attribute_html) throws IOException

Static Private Methods

String referenceClass (int index)
final String referenceType (String type)
String toHTML (String str)
String referenceClass (int index)
final String referenceType (String type)
String toHTML (String str)

Private Attributes

JavaClass java_class
String dir

Static Private Attributes

String class_package
String class_name
ConstantPool constant_pool

Detailed Description

Read class file(s) and convert them into HTML files.

Given a JavaClass object "class" that is in package "package" five files will be created in the specified directory.

  1. "package"."class".html as the main file which defines the frames for the following subfiles.
  2. "package"."class"_attributes.html contains all (known) attributes found in the file
  3. "package"."class"_cp.html contains the constant pool
  4. "package"."class"_code.html contains the byte code
  5. "package"."class"_methods.html contains references to all methods and fields of the class
All subfiles reference each other appropiately, e.g. clicking on a method in the Method's frame will jump to the appropiate method in the Code frame.

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

Definition at line 30 of file lib/jpf/de/fub/bytecode/util/Class2HTML.java.


Constructor & Destructor Documentation

Class2HTML::Class2HTML JavaClass   java_class,
String   dir
[inline]
 

Write contents of the given JavaClass into HTML files.

Parameters:
java_class   The class to write
dir   The directory to put the files in

Definition at line 45 of file lib/jpf/de/fub/bytecode/util/Class2HTML.java.

Class2HTML::Class2HTML JavaClass   java_class,
String   dir
[inline]
 

Write contents of the given JavaClass into HTML files.

Parameters:
java_class   The class to write
dir   The directory to put the files in

Definition at line 45 of file src/de/fub/bytecode/util/Class2HTML.java.


Member Function Documentation

String Class2HTML::referenceClass int   index [inline, static, private]
 

Utility method that converts a class reference in the constant pool, i.e., an index to a string.

Definition at line 131 of file src/de/fub/bytecode/util/Class2HTML.java.

String Class2HTML::referenceClass int   index [inline, static, private]
 

Utility method that converts a class reference in the constant pool, i.e. an index to a string.

Definition at line 131 of file lib/jpf/de/fub/bytecode/util/Class2HTML.java.


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