Package org.eclipse.cdt.utils.som.parser
Class SOMParser
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.core.AbstractCExtension
org.eclipse.cdt.utils.som.parser.SOMParser
- All Implemented Interfaces:
IBinaryParser,ICExtension,org.eclipse.core.runtime.IAdaptable
HP-UX SOM binary parser
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.IBinaryParser
IBinaryParser.IBinaryArchive, IBinaryParser.IBinaryExecutable, IBinaryParser.IBinaryFile, IBinaryParser.IBinaryObject, IBinaryParser.IBinaryShared, IBinaryParser.ISymbol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultGnuToolFactory<T> TgetAdapter(Class<T> adapter) getBinary(byte[] hints, org.eclipse.core.runtime.IPath path) Creates an IBinaryFile.getBinary(org.eclipse.core.runtime.IPath path) Creates an IBinaryFile.Returns the name of the Format.intGet a hint of the needed buffer size to recognize the file.booleanisBinary(byte[] hints, org.eclipse.core.runtime.IPath path) True if the resource is a binary.Methods inherited from class org.eclipse.cdt.core.AbstractCExtension
getConfigExtensionReference, getExtensionReference, getProject, setExtensionReference, setExtensionReference, setProject
-
Constructor Details
-
SOMParser
public SOMParser()
-
-
Method Details
-
getBinary
public IBinaryParser.IBinaryFile getBinary(byte[] hints, org.eclipse.core.runtime.IPath path) throws IOException Description copied from interface:IBinaryParserCreates an IBinaryFile.- Specified by:
getBinaryin interfaceIBinaryParser- Parameters:
hints- - array byte that can be use to recognise the file. Can be null or empty array when no hints are passed.path-- Throws:
IOException
-
getBinary
Description copied from interface:IBinaryParserCreates an IBinaryFile.- Specified by:
getBinaryin interfaceIBinaryParser- Parameters:
path-- Throws:
IOException
-
getFormat
Description copied from interface:IBinaryParserReturns the name of the Format.- Specified by:
getFormatin interfaceIBinaryParser
-
isBinary
public boolean isBinary(byte[] hints, org.eclipse.core.runtime.IPath path) Description copied from interface:IBinaryParserTrue if the resource is a binary.- Specified by:
isBinaryin interfaceIBinaryParser- Parameters:
hints-path-
-
getHintBufferSize
public int getHintBufferSize()Description copied from interface:IBinaryParserGet a hint of the needed buffer size to recognize the file.- Specified by:
getHintBufferSizein interfaceIBinaryParser
-
createGNUToolFactory
-
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject
-