public interface IBinaryParser
extends org.eclipse.core.runtime.IAdaptable
Modifier and Type | Interface and Description |
---|---|
static interface |
IBinaryParser.IBinaryArchive
Represents an archive.
|
static interface |
IBinaryParser.IBinaryExecutable
An executable.
|
static interface |
IBinaryParser.IBinaryFile
Represents a binary file for example an ELF executable.
|
static interface |
IBinaryParser.IBinaryObject
Represents a binary, for example an ELF excutable.
|
static interface |
IBinaryParser.IBinaryShared
A DLL.
|
static interface |
IBinaryParser.ISymbol |
Modifier and Type | Method and Description |
---|---|
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.
|
IBinaryParser.IBinaryFile getBinary(byte[] hints, org.eclipse.core.runtime.IPath path) throws IOException
hints
- - array byte that can be use to recognise the file.
Can be null or empty array when no hints are passed.path
- IOException
IBinaryParser.IBinaryFile getBinary(org.eclipse.core.runtime.IPath path) throws IOException
path
- IOException
String getFormat()
boolean isBinary(byte[] hints, org.eclipse.core.runtime.IPath path)
hints
- path
- int getHintBufferSize()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.