Uses of Interface
org.eclipse.core.resources.IFile

Packages that use IFile
org.eclipse.core.internal.localstore   
org.eclipse.core.internal.resources   
org.eclipse.core.internal.resources.mapping   
org.eclipse.core.resources Provides basic support for managing a workspace and its resources. 
org.eclipse.core.resources.mapping Provides APIs for integrating application models with the workspace 
org.eclipse.core.resources.team Provides APIs intended to be implemented by the Team component. 
org.eclipse.core.tests.internal.localstore   
org.eclipse.core.tests.resources   
org.eclipse.jdt.core The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program. 
org.eclipse.jdt.core.compiler This package contains compiler associated infrastructure APIs. 
org.eclipse.jdt.internal.core   
org.eclipse.jdt.internal.core.builder   
org.eclipse.jdt.internal.core.search.indexing   
org.eclipse.jdt.internal.core.util   
 

Uses of IFile in org.eclipse.core.internal.localstore
 

Methods in org.eclipse.core.internal.localstore that return IFile
 IFile FileSystemResourceManager.fileForLocation(org.eclipse.core.runtime.IPath location)
          Returns an IFile for the given file system location or null if there is no mapping for this path.
 

Methods in org.eclipse.core.internal.localstore with parameters of type IFile
 java.io.InputStream FileSystemResourceManager.read(IFile target, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void FileSystemResourceManager.write(IFile target, java.io.InputStream content, org.eclipse.core.filesystem.IFileInfo fileInfo, int updateFlags, boolean append, org.eclipse.core.runtime.IProgressMonitor monitor)
          The target must exist in the workspace.
 

Uses of IFile in org.eclipse.core.internal.resources
 

Classes in org.eclipse.core.internal.resources that implement IFile
 class File
          The standard implementation of IFile.
 

Methods in org.eclipse.core.internal.resources that return IFile
 IFile Folder.changeToFile()
           
 IFile[] Container.findDeletedMembersWithHistory(int depth, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IFile[] WorkspaceRoot.findFilesForLocation(org.eclipse.core.runtime.IPath location)
          Deprecated.  
 IFile[] WorkspaceRoot.findFilesForLocationURI(java.net.URI location)
           
 IFile[] WorkspaceRoot.findFilesForLocationURI(java.net.URI location, int memberFlags)
           
 IFile Container.getFile(org.eclipse.core.runtime.IPath childPath)
           
 IFile Container.getFile(java.lang.String name)
           
 IFile WorkspaceRoot.getFileForLocation(org.eclipse.core.runtime.IPath location)
           
 

Methods in org.eclipse.core.internal.resources with parameters of type IFile
 boolean MoveDeleteHook.deleteFile(IResourceTree tree, IFile file, int updateFlags, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 boolean MoveDeleteHook.moveFile(IResourceTree tree, IFile source, IFile destination, int updateFlags, org.eclipse.core.runtime.IProgressMonitor monitor)
           
static void ProjectPreferences.updatePreferences(IFile file)
           
 org.eclipse.core.runtime.IStatus Workspace.validateEdit(IFile[] files, java.lang.Object context)
           
 

Uses of IFile in org.eclipse.core.internal.resources.mapping
 

Methods in org.eclipse.core.internal.resources.mapping with parameters of type IFile
 void ResourceChangeDescriptionFactory.change(IFile file)
           
 

Uses of IFile in org.eclipse.core.resources
 

Methods in org.eclipse.core.resources that return IFile
 IFile[] IContainer.findDeletedMembersWithHistory(int depth, org.eclipse.core.runtime.IProgressMonitor monitor)
          Returns a list of recently deleted files inside this container that have one or more saved states in the local history.
 IFile[] IWorkspaceRoot.findFilesForLocation(org.eclipse.core.runtime.IPath location)
          Deprecated. use IWorkspaceRoot.findFilesForLocationURI(URI) instead
 IFile[] IWorkspaceRoot.findFilesForLocationURI(java.net.URI location)
          Returns the handles of all files that are mapped to the given URI.
 IFile[] IWorkspaceRoot.findFilesForLocationURI(java.net.URI location, int memberFlags)
          Returns the handles of all files that are mapped to the given URI.
 IFile IContainer.getFile(org.eclipse.core.runtime.IPath path)
          Returns a handle to the file identified by the given path in this container.
 IFile IFolder.getFile(java.lang.String name)
          Returns a handle to the file with the given name in this folder.
 IFile IProject.getFile(java.lang.String name)
          Returns a handle to the file with the given name in this project.
 IFile IWorkspaceRoot.getFileForLocation(org.eclipse.core.runtime.IPath location)
          Returns a handle to the file which is mapped to the given path in the local file system, or null if none.
 

Methods in org.eclipse.core.resources with parameters of type IFile
 org.eclipse.core.runtime.IStatus IFileModificationValidator.validateEdit(IFile[] files, java.lang.Object context)
          Deprecated. Validates that the given files can be modified.
 org.eclipse.core.runtime.IStatus IWorkspace.validateEdit(IFile[] files, java.lang.Object context)
          Advises that the caller intends to modify the contents of the given files in the near future and asks whether modifying all these files would be reasonable.
 org.eclipse.core.runtime.IStatus IFileModificationValidator.validateSave(IFile file)
          Deprecated. Validates that the given file can be saved.
 

Uses of IFile in org.eclipse.core.resources.mapping
 

Methods in org.eclipse.core.resources.mapping with parameters of type IFile
 void IResourceChangeDescriptionFactory.change(IFile file)
          Record a delta that represents a content change for the given file.
abstract  IStorage RemoteResourceMappingContext.fetchBaseContents(IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
          For three-way comparisons, returns an instance of IStorage in order to allow the caller to access the contents of the base resource that corresponds to the given local resource.
abstract  IStorage RemoteResourceMappingContext.fetchRemoteContents(IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
          Returns an instance of IStorage in order to allow the caller to access the contents of the remote that corresponds to the given local resource.
 

Uses of IFile in org.eclipse.core.resources.team
 

Methods in org.eclipse.core.resources.team with parameters of type IFile
 void IResourceTree.addToLocalHistory(IFile file)
          Adds the current state of the given file to the local history.
 long IResourceTree.computeTimestamp(IFile file)
          Computes the timestamp for the given file in the local file system.
 void IResourceTree.deletedFile(IFile file)
          Declares that the given file has been successfully deleted from the local file system, and requests that the corresponding deletion should now be made to the workspace resource tree.
 boolean IMoveDeleteHook.deleteFile(IResourceTree tree, IFile file, int updateFlags, org.eclipse.core.runtime.IProgressMonitor monitor)
          Implements IResource.delete(int,IProgressMonitor) where the receiver is a file.
 long IResourceTree.getTimestamp(IFile file)
          Returns the timestamp for the given file as recorded in the workspace resource tree.
 void IResourceTree.movedFile(IFile source, IFile destination)
          Declares that the given source file has been successfully moved to the given destination in the local file system, and requests that the corresponding changes should now be made to the workspace resource tree.
 boolean IMoveDeleteHook.moveFile(IResourceTree tree, IFile source, IFile destination, int updateFlags, org.eclipse.core.runtime.IProgressMonitor monitor)
          Implements IResource.move(IPath,int,IProgressMonitor) where the receiver is a file.
 void IResourceTree.standardDeleteFile(IFile file, int updateFlags, org.eclipse.core.runtime.IProgressMonitor monitor)
          Deletes the given file in the standard manner from both the local file system and from the workspace resource tree.
 void IResourceTree.standardMoveFile(IFile source, IFile destination, int updateFlags, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the given file in the standard manner from both the local file system and from the workspace resource tree.
 void IResourceTree.updateMovedFileTimestamp(IFile file, long timestamp)
          Updates the timestamp for the given file in the workspace resource tree.
 org.eclipse.core.runtime.IStatus TeamHook.validateCreateLink(IFile file, int updateFlags, org.eclipse.core.runtime.IPath location)
          Validates whether a particular attempt at link creation is allowed.
 org.eclipse.core.runtime.IStatus TeamHook.validateCreateLink(IFile file, int updateFlags, java.net.URI location)
          Validates whether a particular attempt at link creation is allowed.
abstract  org.eclipse.core.runtime.IStatus FileModificationValidator.validateEdit(IFile[] files, FileModificationValidationContext context)
          Validates that the given files can be modified.
 org.eclipse.core.runtime.IStatus FileModificationValidator.validateEdit(IFile[] files, java.lang.Object context)
          Deprecated. this method is part of the deprecated IFileModificationValidator interface. Clients should call FileModificationValidator.validateEdit(IFile[], FileModificationValidationContext) instead.
 org.eclipse.core.runtime.IStatus FileModificationValidator.validateSave(IFile file)
          Validates that the given file can be saved.
 

Uses of IFile in org.eclipse.core.tests.internal.localstore
 

Methods in org.eclipse.core.tests.internal.localstore with parameters of type IFile
 void LocalSyncTest.assertExistsInFileSystemWithNoContent(IFile target)
           
 

Uses of IFile in org.eclipse.core.tests.resources
 

Methods in org.eclipse.core.tests.resources that return IFile
 IFile[] IFileTest.interestingFiles()
          Returns some interesting files.
 

Methods in org.eclipse.core.tests.resources with parameters of type IFile
 void ResourceTest.ensureExistsInFileSystem(IFile file)
          Create the given file in the local store.
 void ResourceTest.ensureExistsInWorkspace(IFile resource, java.io.InputStream contents)
          Create the given file in the workspace resource info tree.
 void ResourceTest.ensureExistsInWorkspace(IFile resource, java.lang.String contents)
          Create the given file in the workspace resource info tree.
 boolean IFileTest.outOfSync(IFile file)
          Returns true if the given file is out of sync from the local file system.
 void IFileTest.refreshFile(IFile file)
          Makes sure file requirements are met (out of sync, workspace only, etc).
 

Uses of IFile in org.eclipse.jdt.core
 

Methods in org.eclipse.jdt.core with parameters of type IFile
static IJavaElement JavaCore.create(IFile file)
          Returns the Java element corresponding to the given file, or null if unable to associate the given file with a Java element.
static IClassFile JavaCore.createClassFileFrom(IFile file)
          Creates and returns a class file element for the given .class file.
static ICompilationUnit JavaCore.createCompilationUnitFrom(IFile file)
          Creates and returns a compilation unit element for the given source file (i.e.
static IPackageFragmentRoot JavaCore.createJarPackageFragmentRootFrom(IFile file)
          Creates and returns a handle for the given JAR file.
 

Uses of IFile in org.eclipse.jdt.core.compiler
 

Methods in org.eclipse.jdt.core.compiler that return IFile
 IFile BuildContext.getFile()
          Returns the IFile representing the compilation unit.
 

Methods in org.eclipse.jdt.core.compiler with parameters of type IFile
 void BuildContext.recordAddedGeneratedFiles(IFile[] addedGeneratedFiles)
          Record the added/changed generated files that need to be compiled.
 void BuildContext.recordDeletedGeneratedFiles(IFile[] deletedGeneratedFiles)
          Record the generated files that need to be deleted.
 

Uses of IFile in org.eclipse.jdt.internal.core
 

Methods in org.eclipse.jdt.internal.core with parameters of type IFile
static IJavaElement JavaModelManager.create(IFile file, IJavaProject project)
          Returns the Java element corresponding to the given file, its project being the given project.
static IClassFile JavaModelManager.createClassFileFrom(IFile file, IJavaProject project)
          Creates and returns a class file element for the given .class file, its project being the given project.
static ICompilationUnit JavaModelManager.createCompilationUnitFrom(IFile file, IJavaProject project)
          Creates and returns a compilation unit element for the given .java file, its project being the given project.
static IPackageFragmentRoot JavaModelManager.createJarPackageFragmentRootFrom(IFile file, IJavaProject project)
          Creates and returns a handle for the given JAR file, its project being the given project.
 IBinaryType ClassFile.getBinaryTypeInfo(IFile file)
          Returns the ClassFileReaderspecific for this IClassFile, based on its underlying resource, or null if unable to create the diet class file.
 IBinaryType ClassFile.getBinaryTypeInfo(IFile file, boolean fullyInitialize)
           
 void JavaModelManager.secondaryTypesRemoving(IFile file, boolean cleanIndexCache)
          Remove from secondary types cache all types belonging to a given file.
 

Constructors in org.eclipse.jdt.internal.core with parameters of type IFile
NullBuffer(IFile file, IOpenable owner, boolean readOnly)
          Creates a new null buffer on an underlying resource.
 

Uses of IFile in org.eclipse.jdt.internal.core.builder
 

Fields in org.eclipse.jdt.internal.core.builder declared as IFile
 IFile SourceFile.resource
           
 

Methods in org.eclipse.jdt.internal.core.builder with parameters of type IFile
 ICompilationUnit ICompilationUnitLocator.fromIFile(IFile file)
           
 ICompilationUnit AbstractImageBuilder.fromIFile(IFile file)
           
 

Constructors in org.eclipse.jdt.internal.core.builder with parameters of type IFile
SourceFile(IFile resource, org.eclipse.jdt.internal.core.builder.ClasspathMultiDirectory sourceLocation)
           
SourceFile(IFile resource, org.eclipse.jdt.internal.core.builder.ClasspathMultiDirectory sourceLocation, boolean updateClassFile)
           
 

Uses of IFile in org.eclipse.jdt.internal.core.search.indexing
 

Methods in org.eclipse.jdt.internal.core.search.indexing with parameters of type IFile
 void IndexManager.addBinary(IFile resource, org.eclipse.core.runtime.IPath containerPath)
          Trigger addition of a resource to an index Note: the actual operation is performed in background
 void IndexManager.addSource(IFile resource, org.eclipse.core.runtime.IPath containerPath, SourceElementParser parser)
          Trigger addition of a resource to an index Note: the actual operation is performed in background
 

Uses of IFile in org.eclipse.jdt.internal.core.util
 

Methods in org.eclipse.jdt.internal.core.util with parameters of type IFile
static byte[] Util.getResourceContentsAsByteArray(IFile file)
          Returns the given file's contents as a byte array.
static char[] Util.getResourceContentsAsCharArray(IFile file)
          Returns the given file's contents as a character array.
static char[] Util.getResourceContentsAsCharArray(IFile file, java.lang.String encoding)
           
 

Constructors in org.eclipse.jdt.internal.core.util with parameters of type IFile
ResourceCompilationUnit(IFile file, java.net.URI location)