Class PEParser
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.cdt.core.AbstractCExtension
-
- org.eclipse.cdt.utils.coff.parser.PEParser
-
- All Implemented Interfaces:
IBinaryParser
,ICExtension
,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
CygwinPEParser
@Deprecated public class PEParser extends AbstractCExtension implements IBinaryParser
Deprecated.Deprecated as of CDT 6.9. Use 64 bit versionPEParser64
. This class is planned for removal in next major release.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.IBinaryParser
IBinaryParser.IBinaryArchive, IBinaryParser.IBinaryExecutable, IBinaryParser.IBinaryFile, IBinaryParser.IBinaryObject, IBinaryParser.IBinaryShared, IBinaryParser.ISymbol
-
-
Constructor Summary
Constructors Constructor Description PEParser()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected IBinaryParser.IBinaryArchive
createBinaryArchive(org.eclipse.core.runtime.IPath path)
Deprecated.protected IBinaryParser.IBinaryObject
createBinaryCore(org.eclipse.core.runtime.IPath path)
Deprecated.protected IBinaryParser.IBinaryExecutable
createBinaryExecutable(org.eclipse.core.runtime.IPath path)
Deprecated.protected IBinaryParser.IBinaryObject
createBinaryObject(org.eclipse.core.runtime.IPath path)
Deprecated.protected IBinaryParser.IBinaryShared
createBinaryShared(org.eclipse.core.runtime.IPath path)
Deprecated.IBinaryParser.IBinaryFile
getBinary(byte[] hints, org.eclipse.core.runtime.IPath path)
Deprecated.Creates an IBinaryFile.IBinaryParser.IBinaryFile
getBinary(org.eclipse.core.runtime.IPath path)
Deprecated.Creates an IBinaryFile.String
getFormat()
Deprecated.Returns the name of the Format.int
getHintBufferSize()
Deprecated.Get a hint of the needed buffer size to recognize the file.boolean
isBinary(byte[] array, org.eclipse.core.runtime.IPath path)
Deprecated.True if the resource is a binary.-
Methods inherited from class org.eclipse.cdt.core.AbstractCExtension
getConfigExtensionReference, getExtensionReference, getProject, setExtensionReference, setExtensionReference, setProject
-
-
-
-
Method Detail
-
getBinary
public IBinaryParser.IBinaryFile getBinary(org.eclipse.core.runtime.IPath path) throws IOException
Deprecated.Description copied from interface:IBinaryParser
Creates an IBinaryFile.- Specified by:
getBinary
in interfaceIBinaryParser
- Throws:
IOException
-
getBinary
public IBinaryParser.IBinaryFile getBinary(byte[] hints, org.eclipse.core.runtime.IPath path) throws IOException
Deprecated.Description copied from interface:IBinaryParser
Creates an IBinaryFile.- Specified by:
getBinary
in interfaceIBinaryParser
- Parameters:
hints
- - array byte that can be use to recognise the file. Can be null or empty array when no hints are passed.- Throws:
IOException
-
getFormat
public String getFormat()
Deprecated.Description copied from interface:IBinaryParser
Returns the name of the Format.- Specified by:
getFormat
in interfaceIBinaryParser
-
isBinary
public boolean isBinary(byte[] array, org.eclipse.core.runtime.IPath path)
Deprecated.Description copied from interface:IBinaryParser
True if the resource is a binary.- Specified by:
isBinary
in interfaceIBinaryParser
-
getHintBufferSize
public int getHintBufferSize()
Deprecated.Description copied from interface:IBinaryParser
Get a hint of the needed buffer size to recognize the file.- Specified by:
getHintBufferSize
in interfaceIBinaryParser
-
createBinaryExecutable
protected IBinaryParser.IBinaryExecutable createBinaryExecutable(org.eclipse.core.runtime.IPath path)
Deprecated.
-
createBinaryCore
protected IBinaryParser.IBinaryObject createBinaryCore(org.eclipse.core.runtime.IPath path)
Deprecated.
-
createBinaryObject
protected IBinaryParser.IBinaryObject createBinaryObject(org.eclipse.core.runtime.IPath path)
Deprecated.
-
createBinaryShared
protected IBinaryParser.IBinaryShared createBinaryShared(org.eclipse.core.runtime.IPath path)
Deprecated.
-
createBinaryArchive
protected IBinaryParser.IBinaryArchive createBinaryArchive(org.eclipse.core.runtime.IPath path) throws IOException
Deprecated.- Throws:
IOException
-
-