Package org.apache.commons.compress.harmony.unpack200.bytecode

# Class ClassFile

java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.ClassFile

public class ClassFile extends Object
ClassFile is used to represent and write out Java class files.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `accessFlags`
  `Attribute[]`
  `attributes`
  `ClassFileEntry[]`
  `fields`
  `int[]`
  `interfaces`
  `int`
  `major`
  `ClassFileEntry[]`
  `methods`
  `int`
  `minor`
  `ClassConstantPool`
  `pool`
  `int`
  `superClass`
  `int`
  `thisClass`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClassFile()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `write(DataOutputStream dos)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### major

    public int major

  - ### minor

    public int minor

  - ### pool

    public ClassConstantPool pool

  - ### accessFlags

    public int accessFlags

  - ### thisClass

    public int thisClass

  - ### superClass

    public int superClass

  - ### interfaces

    public int[] interfaces

  - ### fields

    public ClassFileEntry[] fields

  - ### methods

    public ClassFileEntry[] methods

  - ### attributes

    public Attribute[] attributes

- ## Constructor Details

  - ### ClassFile

    public ClassFile()

- ## Method Details

  - ### write

    public void write(DataOutputStream dos) throws IOException
    Throws:
      `IOException`