public interface IScriptResolver
ScriptReference's
URI to a workspace-local IFile.
ScriptResolverScriptResolver| 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)
|
boolean matches(ScriptReference script, IPath path)
script - 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.IFile getFile(ScriptReference script)
IFile that corresponds to the source URI from the given ScriptReference.
null. The result will be checked for existence.script - the ScriptReference to find the IFile forIFile for the ScriptReference or nullCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.