Package org.eclipse.cdt.utils.coff
Class PEArchive.ARHeader
- java.lang.Object
-
- org.eclipse.cdt.utils.coff.PEArchive.ARHeader
-
- Enclosing class:
- PEArchive
public class PEArchive.ARHeader extends java.lang.ObjectTheARHeaderclass is used to store the per-object file archive headers. It can also create an PE 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 byte[]getObjectData()java.lang.StringgetObjectName()Get the name of the object filePEgetPE()Create an new PE object for the object file.PEgetPE(boolean filter_on)longgetSize()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 .
-
getPE
public PE getPE() throws java.io.IOException
Create an new PE object for the object file.- Returns:
- A new PE object.
- Throws:
java.io.IOException- Not a valid PE object file.- See Also:
PE( String, long )
-
getPE
public PE getPE(boolean filter_on) throws java.io.IOException
- Throws:
java.io.IOException
-
getObjectData
public byte[] getObjectData() throws java.io.IOException- Throws:
java.io.IOException
-
-