1 11 package org.eclipse.core.internal.localstore; 12 13 import java.io.InputStream ; 14 import java.util.Set ; 15 import org.eclipse.core.filesystem.IFileInfo; 16 import org.eclipse.core.filesystem.IFileStore; 17 import org.eclipse.core.internal.resources.IManager; 18 import org.eclipse.core.resources.IFileState; 19 import org.eclipse.core.resources.IResource; 20 import org.eclipse.core.runtime.*; 21 22 32 public interface IHistoryStore extends IManager { 33 34 54 public IFileState addState(IPath key, IFileStore localFile, IFileInfo fileInfo, boolean moveContents); 55 56 72 public Set allFiles(IPath path, int depth, IProgressMonitor monitor); 73 74 94 public void clean(IProgressMonitor monitor); 95 96 99 public void closeHistoryStore(IResource resource); 100 101 113 public void copyHistory(IResource source, IResource destination, boolean moving); 114 115 128 public boolean exists(IFileState target); 129 130 141 public InputStream getContents(IFileState target) throws CoreException; 142 143 155 public IFileState[] getStates(IPath path, IProgressMonitor monitor); 156 157 169 public void remove(IPath path, IProgressMonitor monitor); 170 171 177 public void removeGarbage(); 178 } 179 | Popular Tags |