public abstract class BinaryFile extends org.eclipse.core.runtime.PlatformObject implements IBinaryParser.IBinaryFile
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
Constructor and Description |
---|
BinaryFile(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type) |
Modifier and Type | Method and Description |
---|---|
IBinaryParser |
getBinaryParser()
Return the binary parser
|
InputStream |
getContents() |
org.eclipse.core.runtime.IPath |
getPath()
Filename of the binary
|
int |
getType()
Binary type
|
protected boolean |
hasChanged() |
public BinaryFile(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type)
public final IBinaryParser getBinaryParser()
IBinaryParser.IBinaryFile
getBinaryParser
in interface IBinaryParser.IBinaryFile
public final org.eclipse.core.runtime.IPath getPath()
IBinaryParser.IBinaryFile
getPath
in interface IBinaryParser.IBinaryFile
IBinaryParser.IBinaryFile.getPath()
public final int getType()
IBinaryParser.IBinaryFile
getType
in interface IBinaryParser.IBinaryFile
IBinaryParser.IBinaryFile.getType()
public InputStream getContents() throws IOException
getContents
in interface IBinaryParser.IBinaryFile
IOException
IBinaryParser.IBinaryFile.getContents()
protected boolean hasChanged()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.