org.eclipse.cdt.core
Interface IBinaryParser

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable

public interface IBinaryParser
extends org.eclipse.core.runtime.IAdaptable


Nested Class Summary
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
           
 
Method Summary
 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.
 java.lang.String getFormat()
          Returns the name of the Format.
 int getHintBufferSize()
          Get a hint of the needed buffer size to recognise the file.
 boolean isBinary(byte[] hints, org.eclipse.core.runtime.IPath path)
          True if the resource is a binary.
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getBinary

IBinaryParser.IBinaryFile getBinary(byte[] hints,
                                    org.eclipse.core.runtime.IPath path)
                                    throws java.io.IOException
Creates an IBinaryFile.

Parameters:
hints - - array byte that can be use to recognise the file. Can be null or empty array when no hints are passed.
path -
Returns:
Throws:
java.io.IOException

getBinary

IBinaryParser.IBinaryFile getBinary(org.eclipse.core.runtime.IPath path)
                                    throws java.io.IOException
Creates an IBinaryFile.

Parameters:
path -
Returns:
Throws:
java.io.IOException

getFormat

java.lang.String getFormat()
Returns the name of the Format.

Returns:

isBinary

boolean isBinary(byte[] hints,
                 org.eclipse.core.runtime.IPath path)
True if the resource is a binary.

Parameters:
hints -
path -
Returns:

getHintBufferSize

int getHintBufferSize()
Get a hint of the needed buffer size to recognise the file.

Returns: