com.ibm.ftt.resources.core.factory
Interface IPhysicalResourceFinder

All Known Subinterfaces:
ZOSPhysicalResourceFinder

public interface IPhysicalResourceFinder

The IPhysicalResourceFinder interface can be used to find and retrieve a physical resource.


Field Summary
static String COPY_RIGHT
           
 
Method Summary
 List findPhysicalResource(IContainer parent, IResourceFilter filter)
          Finds and retrieves resources contained in the specified parent container using the specified filter.
 IPhysicalResource findPhysicalResource(org.eclipse.core.resources.IResource resource)
          Finds and retrieves the corresponding physical resource for the given IResource.
 

Field Detail

COPY_RIGHT

static final String COPY_RIGHT
See Also:
Constant Field Values
Method Detail

findPhysicalResource

List findPhysicalResource(IContainer parent,
                          IResourceFilter filter)
Finds and retrieves resources contained in the specified parent container using the specified filter.

Parameters:
parent - the container of the resources to find
filter - the filter to select the resources
Returns:
a list of the found resources. It can be an empty list if no resource matched, or null if an error occurred during the find.

findPhysicalResource

IPhysicalResource findPhysicalResource(org.eclipse.core.resources.IResource resource)
Finds and retrieves the corresponding physical resource for the given IResource.

Parameters:
resource - an IResource in the file cache
Returns:
physical resource corresponding to the cached file