Class AR.MemberHeader

java.lang.Object
org.eclipse.cdt.utils.xcoff.AR.MemberHeader
Enclosing class:
AR

public class AR.MemberHeader extends Object
The ARHeader class is used to store the per-object file archive headers. It can also create an XCOFF32 object for inspecting the object file data.
  • Constructor Details

    • MemberHeader

      public MemberHeader() throws IOException
      Creates a new archive header object. Assumes that file is already at the correct location in the file.
      Throws:
      IOException - There was an error processing the header data from the file.
  • Method Details

    • getObjectName

      public String getObjectName()
      Get the name of the object file
    • getSize

      public long getSize()
      Get the size of the object file .
    • getArchiveName

      public String getArchiveName()
    • getObjectDataOffset

      public long getObjectDataOffset()
    • getObjectData

      public byte[] getObjectData() throws IOException
      Throws:
      IOException