public abstract class ScriptResolver extends java.lang.Object implements IScriptResolver
IScriptResolvers
IScriptResolver| Constructor and Description |
|---|
ScriptResolver() |
| Modifier and Type | Method and Description |
|---|---|
IFile |
getFile(ScriptReference script)
This method is used to find the workspace
IFile that corresponds to the source URI from the given ScriptReference. |
boolean |
matches(ScriptReference script,
IPath path)
|
public boolean matches(ScriptReference script, IPath path)
IScriptResolvermatches in interface IScriptResolverscript - the ScriptReference to compare the source URI from - never nullpath - the path to match against the source URI - never nulltrue if the source URI of the given ScriptReference is considered to match the given IPath, false otherwise.public IFile getFile(ScriptReference script)
IScriptResolverIFile that corresponds to the source URI from the given ScriptReference.
null. The result will be checked for existence.getFile in interface IScriptResolverscript - the ScriptReference to find the IFile forIFile for the ScriptReference or nullCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.