public class XCOFF32Parser extends AbstractCExtension implements IBinaryParser
IBinaryParser.IBinaryArchive, IBinaryParser.IBinaryExecutable, IBinaryParser.IBinaryFile, IBinaryParser.IBinaryObject, IBinaryParser.IBinaryShared, IBinaryParser.ISymbol| Constructor and Description |
|---|
XCOFF32Parser() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAdapter(Class<T> adapter) |
IBinaryParser.IBinaryFile |
getBinary(byte[] hints,
org.eclipse.core.runtime.IPath path)
Creates an IBinaryFile.
|
IBinaryParser.IBinaryFile |
getBinary(org.eclipse.core.runtime.IPath path)
Creates an IBinaryFile.
|
String |
getFormat()
Returns the name of the Format.
|
int |
getHintBufferSize()
Get a hint of the needed buffer size to recognize the file.
|
boolean |
isBinary(byte[] hints,
org.eclipse.core.runtime.IPath path)
True if the resource is a binary.
|
getConfigExtensionReference, getExtensionReference, getProject, setExtensionReference, setExtensionReference, setProjectpublic IBinaryParser.IBinaryFile getBinary(byte[] hints, org.eclipse.core.runtime.IPath path) throws IOException
IBinaryParsergetBinary in interface IBinaryParserhints - - array byte that can be use to recognise the file.
Can be null or empty array when no hints are passed.IOExceptionpublic IBinaryParser.IBinaryFile getBinary(org.eclipse.core.runtime.IPath path) throws IOException
IBinaryParsergetBinary in interface IBinaryParserIOExceptionpublic String getFormat()
IBinaryParsergetFormat in interface IBinaryParserpublic boolean isBinary(byte[] hints,
org.eclipse.core.runtime.IPath path)
IBinaryParserisBinary in interface IBinaryParserpublic int getHintBufferSize()
IBinaryParsergetHintBufferSize in interface IBinaryParserpublic <T> T getAdapter(Class<T> adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class org.eclipse.core.runtime.PlatformObjectCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.