1 12 package org.eclipse.core.filesystem; 13 14 import java.io.InputStream ; 15 import java.io.OutputStream ; 16 import java.net.URI ; 17 import org.eclipse.core.filesystem.provider.FileStore; 18 import org.eclipse.core.runtime.*; 19 20 47 public interface IFileStore extends IAdaptable { 48 49 65 public IFileInfo[] childInfos(int options, IProgressMonitor monitor) throws CoreException; 66 67 81 public String [] childNames(int options, IProgressMonitor monitor) throws CoreException; 82 83 99 public IFileStore[] childStores(int options, IProgressMonitor monitor) throws CoreException; 100 101 136 public void copy(IFileStore destination, int options, IProgressMonitor monitor) throws CoreException; 137 138 160 public void delete(int options, IProgressMonitor monitor) throws CoreException; 161 162 179 public IFileInfo fetchInfo(); 180 181 202 public IFileInfo fetchInfo(int options, IProgressMonitor monitor) throws CoreException; 203 204 223 public IFileStore getChild(IPath path); 224 225 234 public IFileStore getChild(String name); 235 236 241 public IFileSystem getFileSystem(); 242 243 254 public String getName(); 255 256 265 public IFileStore getParent(); 266 267 288 public boolean isParentOf(IFileStore other); 289 290 313 public IFileStore mkdir(int options, IProgressMonitor monitor) throws CoreException; 314 315 343 public void move(IFileStore destination, int options, IProgressMonitor monitor) throws CoreException; 344 345 366 public InputStream openInputStream(int options, IProgressMonitor monitor) throws CoreException; 367 368 397 public OutputStream openOutputStream(int options, IProgressMonitor monitor) throws CoreException; 398 399 441 public void putInfo(IFileInfo info, int options, IProgressMonitor monitor) throws CoreException; 442 443 484 public java.io.File toLocalFile(int options, IProgressMonitor monitor) throws CoreException; 485 486 493 public String toString(); 494 495 503 public URI toURI(); 504 } | Popular Tags |