Package org.eclipse.cdt.utils.macho
Class AR.ARHeader
java.lang.Object
org.eclipse.cdt.utils.macho.AR.ARHeader
- Enclosing class:
AR
The
ARHeader
class 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
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
long
Create an new MachO object for the object file.Get the name of the object filelong
getSize()
Get the size of the object file .
-
Constructor Details
-
ARHeader
Creates a new archive header object. Assumes that efile 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
Get the name of the object file -
getSize
public long getSize()Get the size of the object file . -
getArchiveName
-
getObjectDataOffset
Create an new MachO object for the object file.- Returns:
- A new MachO object.
- Throws:
IOException
- Not a valid MachO object file.- See Also:
-
getObjectData
- Throws:
IOException
-