Package org.eclipse.cdt.utils.macho
Class AR.ARHeader
- java.lang.Object
-
- org.eclipse.cdt.utils.macho.AR.ARHeader
-
- Enclosing class:
- AR
public class AR.ARHeader extends java.lang.ObjectTheARHeaderclass is used to store the per-object file archive headers. It can also create an Mach-O object for inspecting the object file data.
-
-
Constructor Summary
Constructors Constructor Description ARHeader()Creates a new archive header object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArchiveName()byte[]getObjectData()longgetObjectDataOffset()Create an new MachO object for the object file.java.lang.StringgetObjectName()Get the name of the object filelonggetSize()Get the size of the object 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() throws java.io.IOExceptionCreate an new MachO object for the object file.- Returns:
- A new MachO object.
- Throws:
java.io.IOException- Not a valid MachO object file.- See Also:
MachO( String, long )
-
getObjectData
public byte[] getObjectData() throws java.io.IOException- Throws:
java.io.IOException
-
-