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
ConstructorsConstructorDescriptionBinaryFile(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type) -
Method Summary
Modifier and TypeMethodDescriptionfinal IBinaryParserReturn the binary parserfinal org.eclipse.core.runtime.IPathgetPath()Filename of the binaryfinal intgetType()Binary typeprotected booleanMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Constructor Details
-
BinaryFile
-
-
Method Details
-
getBinaryParser
Description copied from interface:IBinaryParser.IBinaryFileReturn the binary parser- Specified by:
getBinaryParserin interfaceIBinaryParser.IBinaryFile
-
getPath
public final org.eclipse.core.runtime.IPath getPath()Description copied from interface:IBinaryParser.IBinaryFileFilename of the binary- Specified by:
getPathin interfaceIBinaryParser.IBinaryFile- Returns:
- the path
- See Also:
-
getType
public final int getType()Description copied from interface:IBinaryParser.IBinaryFileBinary type- Specified by:
getTypein interfaceIBinaryParser.IBinaryFile- Returns:
- the type of the binary
- See Also:
-
getContents
- Specified by:
getContentsin interfaceIBinaryParser.IBinaryFile- Returns:
- the binary contents.
- Throws:
IOException- See Also:
-
hasChanged
protected boolean hasChanged()
-