Purple Code

com.purpletech.lang
Class Classfile

java.lang.Object
  |
  +--com.purpletech.lang.Classfile

public class Classfile
extends java.lang.Object

Primitive classfile parser


Field Summary
static short ACC_ABSTRACT
           
static short ACC_FINAL
           
static short ACC_INTERFACE
           
static short ACC_PUBLIC
           
static short ACC_SUPER
           
 
Constructor Summary
Classfile(java.io.InputStream in)
           
 
Method Summary
 java.util.Vector getClasses()
           
 java.lang.String getClassName(short class_index)
           
static java.lang.String getFlags(short flags)
           
static void main(java.lang.String[] args)
           
 void parse(java.io.InputStream in)
           
 void print(java.io.PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACC_PUBLIC

public static final short ACC_PUBLIC
See Also:
Constant Field Values

ACC_FINAL

public static final short ACC_FINAL
See Also:
Constant Field Values

ACC_SUPER

public static final short ACC_SUPER
See Also:
Constant Field Values

ACC_INTERFACE

public static final short ACC_INTERFACE
See Also:
Constant Field Values

ACC_ABSTRACT

public static final short ACC_ABSTRACT
See Also:
Constant Field Values
Constructor Detail

Classfile

public Classfile(java.io.InputStream in)
          throws java.lang.ClassFormatError,
                 java.io.IOException
Method Detail

parse

public void parse(java.io.InputStream in)
           throws java.lang.ClassFormatError,
                  java.io.IOException
java.lang.ClassFormatError
java.io.IOException

print

public void print(java.io.PrintStream out)

getClassName

public java.lang.String getClassName(short class_index)

getClasses

public java.util.Vector getClasses()

getFlags

public static java.lang.String getFlags(short flags)

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
java.io.IOException

Documentation generated March 5 2003