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 and 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 and Description
    `ClassFile()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(DataOutputStream dos)`

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

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

- - ### Field Detail

    - #### 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 Detail

    - #### ClassFile

          public ClassFile()

  - ### Method Detail

    - #### write

          public void write(DataOutputStream dos)
                     throws IOException

      Throws:
        `IOException`

Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.