org.eclipse.wst.common.componentcore.resources
Interface IVirtualFile
- All Superinterfaces:
- IVirtualResource
- public interface IVirtualFile
- extends IVirtualResource
Represents a file that can be navigated through
an abstract ("virtual") path.
This interface is not intended to be implemented by clients.
- Since:
- 1.0
Method Summary |
IFile |
getUnderlyingFile()
returns the underlying IFile, returns first IFile if multiple exist. |
IFile[] |
getUnderlyingFiles()
returns the array of underlying IFiles that are mapped to the same runtime path. |
Methods inherited from interface org.eclipse.wst.common.componentcore.resources.IVirtualResource |
createLink, delete, equals, exists, getComponent, getFileExtension, getName, getParent, getProject, getProjectRelativePath, getResourceType, getRuntimePath, getType, getUnderlyingResource, getUnderlyingResources, getWorkspaceRelativePath, isAccessible, setResourceType |
getUnderlyingFile
public IFile getUnderlyingFile()
- returns the underlying IFile, returns first IFile if multiple exist.
- Returns:
- the underlying IFile
getUnderlyingFiles
public IFile[] getUnderlyingFiles()
- returns the array of underlying IFiles that are mapped to the same runtime path.
- Returns:
- the array of underlying IFiles mapped to the runtime path