diff options
Diffstat (limited to 'bundles/org.eclipse.core.resources.semantic/src/org/eclipse/core/resources/semantic/spi/ICacheService.java')
-rw-r--r-- | bundles/org.eclipse.core.resources.semantic/src/org/eclipse/core/resources/semantic/spi/ICacheService.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bundles/org.eclipse.core.resources.semantic/src/org/eclipse/core/resources/semantic/spi/ICacheService.java b/bundles/org.eclipse.core.resources.semantic/src/org/eclipse/core/resources/semantic/spi/ICacheService.java index 2ecc7c7..79bf33a 100644 --- a/bundles/org.eclipse.core.resources.semantic/src/org/eclipse/core/resources/semantic/spi/ICacheService.java +++ b/bundles/org.eclipse.core.resources.semantic/src/org/eclipse/core/resources/semantic/spi/ICacheService.java @@ -105,4 +105,20 @@ public interface ICacheService { public OutputStream wrapOutputStream(IPath path, boolean append, ICacheUpdateCallback callback, IProgressMonitor monitor) throws CoreException; + /** + * Moves content of a file specified by <code>path</code> to a location + * specified by <code>targetPath<code> + * + * @param path + * must point to a file + * @param targetPath + * must point to a non-existing file + * @param monitor + * may be null + * @throws CoreException + * + * @since 0.6.0 + */ + public void moveContent(IPath path, IPath targetPath, IProgressMonitor monitor) throws CoreException; + } |