Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.model
Interface IResourceFilter


public interface IResourceFilter

This interface represents a filter controlling inclusion of resources into the packaged output.

Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.


Method Summary
 boolean shouldBeIncluded(IFile file)
          Return a boolean indicating whether the specified file should be included.
 boolean shouldTraverseContainer(IContainer container)
          Return a boolean indicating whether the specified container should be traversed.
 

Method Detail

shouldTraverseContainer

boolean shouldTraverseContainer(IContainer container)
Return a boolean indicating whether the specified container should be traversed.

Parameters:
container - the container to be traversed
Returns:
whether the container should be traversed

shouldBeIncluded

boolean shouldBeIncluded(IFile file)
Return a boolean indicating whether the specified file should be included.

Parameters:
file - the file to be tested
Returns:
whether the file should be included

Mobile Tools for Java
Release 1.0