Package org.eclipse.cdt.utils.coff
Class PEArchive.ARHeader
- java.lang.Object
-
- org.eclipse.cdt.utils.coff.PEArchive.ARHeader
-
-
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()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 .
-
-
-
Constructor Detail
-
ARHeader
public ARHeader() throws IOExceptionCreates a new archive header object. Assumes that rfile is already at the correct location in the file.- Throws:
IOException- There was an error processing the header data from the file.
-
-
Method Detail
-
getObjectName
public 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 IOException
Create an new PE object for the object file.- Returns:
- A new PE object.
- Throws:
IOException- Not a valid PE object file.- See Also:
PE( String, long )
-
getPE
public PE getPE(boolean filter_on) throws IOException
- Throws:
IOException
-
getObjectData
public byte[] getObjectData() throws IOException- Throws:
IOException
-
-