diff options
Diffstat (limited to 'bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/IRemoteResource.java')
-rw-r--r-- | bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/IRemoteResource.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/IRemoteResource.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/IRemoteResource.java deleted file mode 100644 index a09588861..000000000 --- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/IRemoteResource.java +++ /dev/null @@ -1,49 +0,0 @@ -package org.eclipse.team.core.sync; - -import java.io.InputStream; - -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.team.core.TeamException; - -/** - * Interface for resources that are not local. - */ -public interface IRemoteResource extends IAdaptable { - - /** - * Answers a string that describes the name of the remote resource. The name may be - * displayed to the user. - * - * @return name of the remote resource. - */ - public String getName(); - - /** - * Answers and array of <code>IRemoteResource</code> elements that are immediate - * children of this remote resource, in no particular order. - * - * @param progress a progress monitor to indicate the duration of the operation, or - * <code>null</code> if progress reporting is not required. - * - * @return array of immediate children of this remote resource. - */ - public IRemoteResource[] members(IProgressMonitor progress) throws TeamException; - - /** - * Returns a stream over the contents of this remote element. - * - * @param progress a progress monitor to indicate the duration of the operation, or - * <code>null</code> if progress reporting is not required. - */ - public InputStream getContents(IProgressMonitor progress) throws TeamException; - - /** - * Answers if the remote element may have children. - * - * @return <code>true</code> if the remote element may have children and - * <code>false</code> otherwise. - */ - public boolean isContainer(); -} - |