diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/parser/ElfParser.java')
-rw-r--r-- | core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/parser/ElfParser.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/parser/ElfParser.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/parser/ElfParser.java deleted file mode 100644 index ffad041aaff..00000000000 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/parser/ElfParser.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.eclipse.cdt.internal.core.model.parser; - -/* - * (c) Copyright IBM Corp. 2000, 2001. - * All Rights Reserved. - */ - -import java.io.IOException; - -import org.eclipse.cdt.core.AbstractCExtension; -import org.eclipse.cdt.core.IBinaryParser; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.Path; - -/** - */ -public class ElfParser extends AbstractCExtension implements IBinaryParser { - - /** - * @see org.eclipse.cdt.core.model.IBinaryParser#getBinary(IPath) - */ - public IBinaryFile getBinary(IPath path) throws IOException { - if (path == null ) { - path = new Path(""); - } - IBinaryFile bFile; - try { - bFile = new ElfBinaryFile(path); - } catch (IOException e) { - bFile = new ElfBinaryArchive(path); - } - return bFile; - } - - /** - * @see org.eclipse.cdt.core.model.IBinaryParser#getFormat() - */ - public String getFormat() { - return "ELF"; - } - -} |