public interface URIToFileResolve
This interface is used to resolve URIs that are stored as part of referenced metanode templates. It is not meant to be implemented by third-party plug-ins.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMountpointRelative(URI uri)
Returns
true, if this is a URI that is relative to the current mountpoint (of the flow it is used
in). |
boolean |
isNodeRelative(URI uri)
Returns
true, if this is a URI that is relative to the node it is used in. |
boolean |
isWorkflowRelative(URI uri)
Returns
true, if this is a URI that is relative to the workflow it is used in. |
File |
resolveToFile(URI uri)
Resolves the given URI into a local file.
|
File |
resolveToFile(URI uri,
org.eclipse.core.runtime.IProgressMonitor monitor)
Resolves the given URI into a local file.
|
File |
resolveToLocalOrTempFile(URI uri)
Resolves the given URI into a local file.
|
File |
resolveToLocalOrTempFile(URI uri,
org.eclipse.core.runtime.IProgressMonitor monitor)
Resolves the given URI into a local file.
|
File resolveToFile(URI uri) throws IOException
null is returned.uri - The URI, e.g. "knime:/MOUNT_ID/some/path/workflow.knime"nullIOException - If the URI can't be resolvedFile resolveToFile(URI uri, org.eclipse.core.runtime.IProgressMonitor monitor) throws IOException
null is returned.uri - The URI, e.g. "knime:/MOUNT_ID/some/path/workflow.knime"monitor - a progress monitor, must not be nullnullIOException - If the URI can't be resolvedFile resolveToLocalOrTempFile(URI uri) throws IOException
resolveToFile(URI).uri - The URI, e.g. "knime:/MOUNT_ID/some/path/workflow.knime"IOException - If the URI can't be resolvedFile resolveToLocalOrTempFile(URI uri, org.eclipse.core.runtime.IProgressMonitor monitor) throws IOException
resolveToFile(URI).uri - The URI, e.g. "knime:/MOUNT_ID/some/path/workflow.knime"monitor - a progress monitor, must not be nullIOException - If the URI can't be resolvedboolean isMountpointRelative(URI uri)
true, if this is a URI that is relative to the current mountpoint (of the flow it is used
in). It can only be resolved in the context of a flow. Contains the corresponding keyword as host.uri - to checktrue if argument URI is mount point relative, false if not.boolean isWorkflowRelative(URI uri)
true, if this is a URI that is relative to the workflow it is used in. It can only be
resolved in the context of a flow. Contains the corresponding keyword as host.uri - to checktrue if argument URI is workflow relative, false if not.boolean isNodeRelative(URI uri)
true, if this is a URI that is relative to the node it is used in. It can only be
resolved in the context of a flow. Contains the corresponding keyword as host.uri - to checktrue if argument URI is node relative, false if not.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.