Class AR.MemberHeader

  • Enclosing class:
    AR

    public class AR.MemberHeader
    extends java.lang.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 Detail

      • MemberHeader

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

      • getObjectName

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

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

        public java.lang.String getArchiveName()
      • getObjectDataOffset

        public long getObjectDataOffset()
      • getObjectData

        public byte[] getObjectData()
                             throws java.io.IOException
        Throws:
        java.io.IOException