Package org.eclipse.cdt.utils
Class BinaryFile
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.utils.BinaryFile
- All Implemented Interfaces:
IBinaryParser.IBinaryFile
,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
BinaryObjectAdapter
,ElfBinaryArchive
,MachOBinaryArchive64
,PEBinaryArchive64
,SOMBinaryArchive
,XCOFFBinaryArchive
public abstract class BinaryFile
extends org.eclipse.core.runtime.PlatformObject
implements IBinaryParser.IBinaryFile
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
-
Constructor Summary
ConstructorDescriptionBinaryFile
(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type) -
Method Summary
Modifier and TypeMethodDescriptionfinal IBinaryParser
Return the binary parserfinal org.eclipse.core.runtime.IPath
getPath()
Filename of the binaryfinal int
getType()
Binary typeprotected boolean
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Constructor Details
-
BinaryFile
-
-
Method Details
-
getBinaryParser
Description copied from interface:IBinaryParser.IBinaryFile
Return the binary parser- Specified by:
getBinaryParser
in interfaceIBinaryParser.IBinaryFile
-
getPath
public final org.eclipse.core.runtime.IPath getPath()Description copied from interface:IBinaryParser.IBinaryFile
Filename of the binary- Specified by:
getPath
in interfaceIBinaryParser.IBinaryFile
- Returns:
- the path
- See Also:
-
getType
public final int getType()Description copied from interface:IBinaryParser.IBinaryFile
Binary type- Specified by:
getType
in interfaceIBinaryParser.IBinaryFile
- Returns:
- the type of the binary
- See Also:
-
getContents
- Specified by:
getContents
in interfaceIBinaryParser.IBinaryFile
- Returns:
- the binary contents.
- Throws:
IOException
- See Also:
-
hasChanged
protected boolean hasChanged()
-